mirror of
https://github.com/sbrl/PolyFeed.git
synced 2024-12-17 10:05:00 +00:00
Add Oc ReMix Albums example
This commit is contained in:
parent
fe5f7bfbaa
commit
a8a9a33fa6
1 changed files with 30 additions and 0 deletions
30
examples/ocremix-albums.toml
Normal file
30
examples/ocremix-albums.toml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
[feed]
|
||||||
|
output = "OCReMix-Remix-Albums.atom"
|
||||||
|
|
||||||
|
# Actual Official Feed: http://ocremix.org/feeds/ten20/
|
||||||
|
url = "https://ocremix.org/albums/"
|
||||||
|
|
||||||
|
source_type = "html"
|
||||||
|
|
||||||
|
title = "OCReMix Albums"
|
||||||
|
subtitle = "Latest Albums on OC ReMix"
|
||||||
|
|
||||||
|
logo_url = { selector = ".header", attribute = "src" }
|
||||||
|
|
||||||
|
[entries]
|
||||||
|
selector = ".area-link"
|
||||||
|
title = "{{a.main.featured}}"
|
||||||
|
content = """
|
||||||
|
<p>{td:first-child}</p>
|
||||||
|
<p>{td:nth-child(2)}</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 = "" }
|
||||||
|
# author_url = { selector = "" }
|
||||||
|
|
||||||
|
published = { selector = "td:nth-child(4)", attribute = "" }
|
||||||
|
# last_updated = { selector = "", attribute = "" }
|
Loading…
Reference in a new issue