1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-11-24 06:43:01 +00:00

Add ocremixes example

This commit is contained in:
Starbeamrainbowlabs 2019-08-05 00:48:06 +01:00
parent 132322801c
commit 86f983c22c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

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