Added title, link and description to cli args.
This commit is contained in:
@ -338,12 +338,7 @@ func PublishArticle(c *control.CliArgs, db *model.DB, s *control.CookieStore) ht
|
||||
return
|
||||
}
|
||||
|
||||
feed, err := control.GenerateRSS(
|
||||
db,
|
||||
"Freimaurer Distrikt Niedersachsen und Sachsen-Anhalt",
|
||||
"https://distrikt-ni-st.de",
|
||||
"Freiheit, Gleichheit, Brüderlichkeit, Toleranz und Humanität",
|
||||
)
|
||||
feed, err := control.GenerateRSS(db, c.ChanTitle, c.ChanLink, c.ChanDescription)
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
|
Reference in New Issue
Block a user