Add Oc ReMix Albums example

This commit is contained in:
Starbeamrainbowlabs 2019-08-05 01:06:39 +01:00
parent fe5f7bfbaa
commit a8a9a33fa6
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 30 additions and 0 deletions

View 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 = "" }