1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-12-26 11:05:01 +00:00
PolyFeed/examples/twitter.toml

24 lines
598 B
TOML
Raw Normal View History

[feed]
2019-07-29 18:17:40 +00:00
output = "euruicimages-Twitter.atom"
2019-07-29 18:17:40 +00:00
url = "https://mobile.twitter.com/euruicimages"
source_type = "html"
title = "{{.username}} on Twitter"
subtitle = "{{.details}}"
logo_url = { selector = ".avatar img", attribute = "src" }
[entries]
selector = ".tweet"
2019-07-29 18:17:40 +00:00
title = "Tweet by {{.username}} {{.tweet-social-context}}"
content = "<p><strong>{.avatar}{.fullname}:</strong></p>\n{.tweet-text}"
url = { selector = ".metadata a", attribute = "href" }
author_name = { selector = ".username" }
# published = { selector = "", attribute = "" }
# last_updated = { selector = "", attribute = "" }