diff --git a/.gitmodules b/.gitmodules index d69ec8a..3afb62d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "frmWrk"] path = frmWrk url = https://github.com/vanten-s/frmWrk.git +[submodule "feed_generator"] + path = feed_generator + url = http://gitlab.vanten-s.com/vanten-s/feed_generator.git diff --git a/feed_generator b/feed_generator new file mode 160000 index 0000000..73cc349 --- /dev/null +++ b/feed_generator @@ -0,0 +1 @@ +Subproject commit 73cc34940565aa2532fac3aa2662095d2535985a diff --git a/main.py b/main.py index 3c79bc7..4f867e2 100644 --- a/main.py +++ b/main.py @@ -1,5 +1,13 @@ import frmWrk.website +import feed_generator + + +webserver = frmWrk.website.WebServer("", 3000, "./src/", overwrites={ + "/rss.xml": (lambda path: feed_generator.make_rss_feed("feed_articles/", + "vanten-s", + "https://vanten-s.com/", + "Vantens personal feed"))} +) -webserver = frmWrk.website.WebServer("localhost", 3000, "./src/") webserver.start()