150 lines
2.9 KiB
INI
150 lines
2.9 KiB
INI
[rss-rdf]
|
|
mode = xml
|
|
|
|
timeformat = %a, %d %b %Y %H:%M:%S %Z
|
|
|
|
base = <?xml version="1.0"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/"></rdf:RDF>
|
|
|
|
title = /rdf:RDF/rssfake:channel/rssfake:title
|
|
desc = /rdf:RDF/rssfake:channel/rssfake:description
|
|
items = /rdf:RDF/rssfake:channel/rssfake:item
|
|
|
|
item_title = rssfake:title
|
|
item_link = rssfake:link
|
|
item_desc = rssfake:description
|
|
item_content = content:encoded
|
|
item_time = rssfake:pubDate
|
|
|
|
|
|
[rss-channel]
|
|
mode = xml
|
|
|
|
timeformat = %a, %d %b %Y %H:%M:%S %Z
|
|
|
|
base = <?xml version="1.0"?><rss version="2.0"></rss>
|
|
|
|
title = /rss/channel/title
|
|
desc = /rss/channel/description
|
|
items = /rss/channel/item
|
|
|
|
item_title = title
|
|
item_link = link
|
|
item_desc = description
|
|
item_content = content:encoded
|
|
item_time = pubDate
|
|
|
|
|
|
[rss-atom]
|
|
mode = xml
|
|
|
|
timeformat = %Y-%m-%dT%H:%M:%SZ
|
|
|
|
base = <?xml version="1.0"?><feed xmlns="http://www.w3.org/2005/Atom"></feed>
|
|
|
|
title = /atom:feed/atom:title
|
|
desc = /atom:feed/atom:subtitle
|
|
items = /atom:feed/atom:entry
|
|
|
|
item_title = atom:title
|
|
item_link = atom:link/@href
|
|
item_desc = atom:summary
|
|
item_content = atom:content
|
|
item_time = atom:published
|
|
item_updated = atom:updated
|
|
|
|
[rss-atom03]
|
|
mode = xml
|
|
|
|
timeformat = %Y-%m-%dT%H:%M:%SZ
|
|
|
|
base = <?xml version="1.0"?><feed version="0.3" xmlns="http://purl.org/atom/ns#"></feed>
|
|
title = /atom03:feed/atom03:title
|
|
desc = /atom03:feed/atom03:subtitle
|
|
items = /atom03:feed/atom03:entry
|
|
|
|
item_title = atom03:title
|
|
item_link = atom03:link/@href
|
|
item_desc = atom03:summary
|
|
item_content = atom03:content
|
|
item_time = atom03:published
|
|
item_updated = atom03:updated
|
|
|
|
[json]
|
|
mode = json
|
|
|
|
mimetype = application/json
|
|
timeformat = %Y-%m-%dT%H:%M:%SZ
|
|
base = {}
|
|
|
|
title = title
|
|
desc = desc
|
|
items = items.[]
|
|
|
|
item_title = title
|
|
item_link = url
|
|
item_desc = desc
|
|
item_content = content
|
|
item_time = time
|
|
item_updated = updated
|
|
|
|
[html]
|
|
mode = html
|
|
|
|
path =
|
|
http://localhost/
|
|
|
|
title = //div[@id='header']/h1
|
|
desc = //div[@id='header']/p
|
|
items = //div[@id='content']/div
|
|
|
|
item_title = ./a
|
|
item_link = ./a/@href
|
|
item_desc = ./div[class=desc]
|
|
item_content = ./div[class=content]
|
|
|
|
base = file:sheet.xsl
|
|
|
|
[twitter]
|
|
mode = html
|
|
|
|
path =
|
|
http://twitter.com/*
|
|
https://twitter.com/*
|
|
http://www.twitter.com/*
|
|
https://www.twitter.com/*
|
|
|
|
title = //head/title
|
|
items = //table[class=tweet]|//div[class=tweet]
|
|
|
|
item_title = .//div[class=username]
|
|
item_link = ./@href
|
|
item_desc = .//div[class=tweet-text]/div
|
|
|
|
[google]
|
|
mode = html
|
|
|
|
path =
|
|
http://google.com/search?q=*
|
|
http://www.google.com/search?q=*
|
|
|
|
title = //head/title
|
|
items = //li[class=g]
|
|
|
|
item_title = .//h3
|
|
item_link = .//a/@href
|
|
item_desc = .//span[class=st]
|
|
|
|
[ddg.gg]
|
|
mode = html
|
|
|
|
path =
|
|
http://duckduckgo.com/html/?q=*
|
|
https://duckduckgo.com/html/?q=*
|
|
|
|
title = //head/title
|
|
items = //div[class=results_links][not(contains(@class,'sponsored'))]
|
|
|
|
item_title = .//a[class=result__a]
|
|
item_link = .//a[class=result__a]/@href
|
|
item_desc = .//a[class=result__snippet]
|