Added feed generator
This commit is contained in:
parent
0fbbffc602
commit
82df7fafe2
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
|
||||
|
|
1
feed_generator
Submodule
1
feed_generator
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 73cc34940565aa2532fac3aa2662095d2535985a
|
10
main.py
10
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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue