|
|
#1 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: kindle
|
Today's Zaman (english) recipe update
Fix all RSS feed urls, added removed some invalid ones, and added a few undocumented ones ('Diplomacy', 'Food', etc).
Valid feeds were gathered using the following ruby script: Code:
require 'mechanize'
require 'nokogiri'
(0..1000).each do |i|
url = "http://www.todayszaman.com/#{i}.rss"
page = Mechanize.new.get(url)
if page.body.size > 20
section = Nokogiri::HTML(page.body).xpath("//title").first.inner_html
puts "#{url} => #{section}"
end
end
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| English APA.AZ Recipe | BetterRed | Recipes | 2 | 11-26-2012 03:58 PM |
| English Pravda recipe | Raskospoon | Recipes | 2 | 11-02-2012 06:23 AM |
| Request: Please update Psychology Today recipe | underwarez | Recipes | 0 | 07-04-2012 02:50 PM |
| Recipe for Skylife (English) | thomass | Recipes | 0 | 11-28-2011 10:49 PM |