From a8a9a33fa6d4c3ea7ef5701b06e045a2b90351f9 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 5 Aug 2019 01:06:39 +0100 Subject: [PATCH] Add Oc ReMix Albums example --- examples/ocremix-albums.toml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 examples/ocremix-albums.toml diff --git a/examples/ocremix-albums.toml b/examples/ocremix-albums.toml new file mode 100644 index 0000000..28b5aa9 --- /dev/null +++ b/examples/ocremix-albums.toml @@ -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 = """ +

{td:first-child}

+

{td:nth-child(2)}

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