diff --git a/morss/feedify.ini b/morss/feedify.ini index 3a4becf..75f0299 100644 --- a/morss/feedify.ini +++ b/morss/feedify.ini @@ -87,46 +87,63 @@ item_content = content item_time = time item_updated = updated +[html] +mode = html + +title = //div[@id='header']/h1 +desc = //div[@id='header']/h2 +items = //div[@id='content']/div + +item_title = ./a +item_link = ./a/@href +item_desc = ./div[class=desc] +item_content = ./div[class=content] + +base = Feed reader by morss
@item.title
@item.desc
@item.content
+ [twitter] -mode = xpath +mode = html + path = http://twitter.com/* https://twitter.com/* http://www.twitter.com/* https://www.twitter.com/* -title = //head/title/text() +title = //head/title items = //table[class=tweet]|//div[class=tweet] -item_title = .//strong[class=fullname]/text() " (" normalize-space(string(.//div[class=username])) ")" +item_title = .//div[class=username] item_link = ./@href -item_content = .//div[class=tweet-text]/div +item_desc = .//div[class=tweet-text]/div [google] -mode = xpath +mode = html + path = http://google.com/search?q=* http://www.google.com/search?q=* -title = //head/title/text() +title = //head/title items = //li[class=g] -item_title = .//h3//text() +item_title = .//h3 item_link = .//a/@href -item_content = .//span[class=st] +item_desc = .//span[class=st] [ddg.gg] -mode = xpath +mode = html + path = http://duckduckgo.com/html/?q=* https://duckduckgo.com/html/?q=* -title = //head/title/text() +title = //head/title items = //div[class=results_links][not(contains(@class,'sponsored'))] -item_title = .//a[class=result__a]//text() +item_title = .//a[class=result__a] item_link = .//a[class=result__a]/@href -item_content = string(.//a[class=result__snippet]) +item_desc = .//a[class=result__snippet] [facebook home] mode = json