It is currently April 20th, 2024, 8:17 am
Using Google Reader to parse feeds. [No longer works]
-
- Posts: 2
- Joined: December 18th, 2011, 9:01 pm
Re: Using Google Reader to parse Atom, RSS, etc. feeds
Unfortunately this no longer works, since google reader now loads the entire feed in javascript.
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Using Google Reader to parse Atom, RSS, etc. feeds
Still works perfectly fine for me. This approach does not use the Google Reader "interface" at all, but rather a standard feed associated with the reader, and is not impacted by changes to the interface.NoOnesThere wrote:Unfortunately this no longer works, since google reader now loads the entire feed in javascript.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
[Variables]
URL=http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml
GET=.*(?(?=.*<div class="item">).*<div class="item">.*<a href="(.*)">(.*)</a>.*<div class="item-info">.* on (.*)</div>)
[MeasureFeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://www.google.co.uk/reader/view/feed/#URL#?n=8
RegExp="(?siU)<h1>(.*)</h1>#GET##GET##GET##GET##GET##GET##GET##GET#"
UpdateRate=1500
[MeasureTwo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureFeed]
StringIndex=2
[MeasureThree]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureFeed]
DecodeCharacterReference=1
StringIndex=3
[MeasureFour]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureFeed]
StringIndex=4
[MeterOne]
Meter=String
FontSize=11
FontColor=255,255,255,255
MeasureName=MeasureTwo
MeasureName2=MeasureThree
MeasureName3=MeasureFour
Text=%1#CRLF#%2#CRLF#%3
Code: Select all
[MeasureFeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://www.google.com/reader/view/feed/#URL#?n=8
RegExp="(?siU)<h1>(.*)</h1>#GET##GET##GET##GET##GET##GET##GET##GET#"
UpdateRate=1500
You do not have the required permissions to view the files attached to this post.
-
- Posts: 2
- Joined: December 18th, 2011, 9:01 pm
Re: Using Google Reader to parse Atom, RSS, etc. feeds
Interesting, so thinking back on it that's what used to happen for my feed too. But now I get directed to the reader interface for my feed, but not for the BBC feed. The difference, I suspect, is that my feed is itself a feed from a separate google reader.
For privacy reasons I don't really want to post the feed I'm using, but it's just a public feed from a google reader user (basically used to conglomerate a bunch of feeds into one). This doesn't work because as mentioned before the page is the typical google reader page which uses all javascript.
For now this is just a caveat I suppose, but I have to wonder if other feeds won't start moving into the google reader interface as well.
Edit: Also interesting is that my feed works using google.co.uk, but not google.com. We'll see how long that lasts.
For privacy reasons I don't really want to post the feed I'm using, but it's just a public feed from a google reader user (basically used to conglomerate a bunch of feeds into one). This doesn't work because as mentioned before the page is the typical google reader page which uses all javascript.
For now this is just a caveat I suppose, but I have to wonder if other feeds won't start moving into the google reader interface as well.
Edit: Also interesting is that my feed works using google.co.uk, but not google.com. We'll see how long that lasts.
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: Using Google Reader to parse Atom, RSS, etc. feeds
If you pass the feed you're using through FeedBurner it should turn it into a regular 'ol rss.NoOnesThere wrote:Interesting, so thinking back on it that's what used to happen for my feed too. But now I get directed to the reader interface for my feed, but not for the BBC feed. The difference, I suspect, is that my feed is itself a feed from a separate google reader.
For privacy reasons I don't really want to post the feed I'm using, but it's just a public feed from a google reader user (basically used to conglomerate a bunch of feeds into one). This doesn't work because as mentioned before the page is the typical google reader page which uses all javascript.
For now this is just a caveat I suppose, but I have to wonder if other feeds won't start moving into the google reader interface as well.
Edit: Also interesting is that my feed works using google.co.uk, but not google.com. We'll see how long that lasts.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 104
- Joined: September 18th, 2011, 6:37 am
- Location: Nanjing, China
Re: Using Google Reader to parse Atom, RSS, etc. feeds
how to encode a URL by lua?
-
- Posts: 104
- Joined: September 18th, 2011, 6:37 am
- Location: Nanjing, China
Re: Using Google Reader to parse Atom, RSS, etc. feeds
Never mind
Code: Select all
function escape (s)
s = string.gsub(s, "([%W])", function (c)
return string.format("%%%02X", string.byte(c))
end)
s = string.gsub(s, " ", "+")
return s
end
-
- Posts: 104
- Joined: September 18th, 2011, 6:37 am
- Location: Nanjing, China
Re: Using Google Reader to parse Atom, RSS, etc. feeds
Is using this to avoid "CodePage" problems when comes to different languages?
Another problem:
Google Reader only display up to 9 items, even if "?n=" is larger than 9
Another problem:
Google Reader only display up to 9 items, even if "?n=" is larger than 9