mirror of
https://github.com/sbrl/PolyFeed.git
synced 2024-11-14 05:13:00 +00:00
Add ocremixes example
This commit is contained in:
parent
132322801c
commit
86f983c22c
1 changed files with 31 additions and 0 deletions
31
examples/ocremix-remixes.toml
Normal file
31
examples/ocremix-remixes.toml
Normal file
|
@ -0,0 +1,31 @@
|
|||
[feed]
|
||||
output = "OCReMix-Remixes.atom"
|
||||
|
||||
# Actual Official Feed: http://ocremix.org/feeds/ten20/
|
||||
url = "https://ocremix.org/remixes/?&offset=0&sort=datedesc"
|
||||
|
||||
source_type = "html"
|
||||
|
||||
title = "OCReMixes"
|
||||
subtitle = "Latest remixes on OC ReMix"
|
||||
|
||||
logo_url = { selector = ".header", attribute = "src" }
|
||||
|
||||
[entries]
|
||||
selector = ".area-link"
|
||||
title = "{{a.main.featured}} by {{td:nth-child(2) a.featured}} - {{.color-secondary}}"
|
||||
content = """
|
||||
<p>{a}</p>
|
||||
<p><strong>{a.main.featured}</strong></p>
|
||||
<p>{td:nth-child(2)}</p>
|
||||
<p>Remixing {.color-secondary}</p>
|
||||
"""
|
||||
|
||||
url = { selector = "a.main.featured", attribute = "href" }
|
||||
# or, for a direct link to YouTube:
|
||||
#url = { selector = "a.main.featured", attribute = "data-preview" }
|
||||
|
||||
author_name = { selector = "td:nth-child(2) a.featured" }
|
||||
|
||||
published = { selector = "td:nth-child(3)", attribute = "" }
|
||||
# last_updated = { selector = "", attribute = "" }
|
Loading…
Reference in a new issue