Skip to content

Commit 1ee2ae2

Browse files
authored
Merge pull request #93 from julwrites/staging
Hardcode the link to utmost since rss doesn't exist
2 parents 1179b01 + ebde22f commit 1ee2ae2

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

pkg/app/devo_articles.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ func GetDesiringGodArticles() []def.Option {
8181
}
8282

8383
func GetUtmostForHisHighestArticles() []def.Option {
84-
doc := fetchHTMLPage("http://utmost.org/feed/?post_type=modern-classic")
85-
if doc == nil {
86-
return []def.Option{}
87-
}
88-
return parseArticlesFromHTML(doc)
84+
var options []def.Option
85+
options = append(options, def.Option{Text: "Read today's devotional", Link: "http://utmost.org/modern-classic/today"})
86+
return options
8987
}

0 commit comments

Comments
 (0)