2 of 2
2
Magpie is Stuck
Posted: 09 April 2007 11:40 AM   [ Ignore ]   [ # 19 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

Well, liquilife, since you are using the Magpie plugin and not some other plugin, if you want to send me FTP information, Control Panel access, and the location of this tag…I can take a quick look and see what I can find out.

 Signature 
Profile
 
 
Posted: 12 April 2007 09:38 PM   [ Ignore ]   [ # 20 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  161
Joined  06-23-2004

Sorry Paul, I didn’t mean to disappear. (school has been nuts).

Anyways, I am using the builtin EE Magpie RSS Parser (v.1.3.2)

I checked the cache directory, it’s set to 777, I deleted the files in the cache and reloaded. It pulled in the new information, but it does not appear to be deleting/updating the cache file correctly.

This the refresh line I am using:

{exp:magpie url="http://ws.audioscrobbler.com/1.0/user/xxdesmusxx/recenttracks.rss" limit="6" refresh="5"}

I am not going to assume you want my FTP/EE info, so I’ll wait (if) until you ask smile

Profile
 
 
Posted: 12 April 2007 09:56 PM   [ Ignore ]   [ # 21 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  255
Joined  08-16-2005

xxdesmus, here is what I found out about the audioscrobbler feed directly from paul via PM’s:

Seems that if the If-Last-Modified header is too recent, their server returns a 404 response.  Currently, the value for that feed is ‘Mon, 09 Apr 2007 17:26:10 GMT’ and that was what happened.  I moved it back an hour and I get a 200 OK response but no data.  Move it back another hour, and I get the full feed again.  So, I think this is more of a problem with their server doing things incorrectly and confusing Magpie.  If there is no data they should be sending a 304 response not a 404 *or* no data at all.

The Magpie Library probably could be modified to not get confused with such random results, so I will make a note to check into that for the next version or 2.0.

It seems the audioscrobbler feed contains a few bugs. I’ve got the same issue as you.

 Signature 

Liquilife.com | UncleGamer.com

Profile
 
 
Posted: 12 April 2007 10:00 PM   [ Ignore ]   [ # 22 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  161
Joined  06-23-2004

^^ Thanks for the quick reply, and the excellent info smile

Profile
 
 
Posted: 12 April 2007 10:09 PM   [ Ignore ]   [ # 23 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  255
Joined  08-16-2005

No problem. It’s always good to be in the know smile Glad I could help for once and not be asking for help, heh.

 Signature 

Liquilife.com | UncleGamer.com

Profile
 
 
Posted: 13 April 2007 02:32 PM   [ Ignore ]   [ # 24 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  161
Joined  06-23-2004

Based on the description above (I was far too tired last night to comprehend what you told me), shouldn’t we just increase the refresh time to prevent the If-Last-Modified header from being too recent? I just bumped mine up to 60 (minutes) and I’ll report back. Granted, this is not really an ideal solution because the point of a “recent tunes” would be to have it update every few minutes…but maybe this could be start to it at least sort of working.

Profile
 
 
Posted: 13 April 2007 04:52 PM   [ Ignore ]   [ # 25 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

The refresh=”” parameter does not influence that header.  That is a header that the Magpie Library sends on its own based on the last time it refreshed the cache file.

 Signature 
Profile
 
 
Posted: 14 April 2007 10:31 PM   [ Ignore ]   [ # 26 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  173
Joined  07-13-2006

Hrm. Seems I’m a little behind on the times. I am having the exact same problem as liquilife. Ours are set up the exact same way (go team! hehe).

So then it seems like last.fm broke something?
Those buggers :( My set up USED to work *grumble*

 Signature 

..// misguided satellite, circle by habit, can’t find my orbit to save my life \\..
[ Kat Scratch Fever | KSF To-Go | 2007: AYIPR ]

Profile
 
 
Posted: 22 April 2007 05:51 PM   [ Ignore ]   [ # 27 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  161
Joined  06-23-2004

I have a strange idea, and I don’t have the time to try it right this second, but here it goes:

What about passing the Last.fm RSS feed (the user feed with the recent track info) through something like Yahoo Pipes, then using MagPie on the RSS feed Yahoo Pipes spits back out?

I don’t know how bad the lag will be if I use Yahoo Pipes, but I’ll give it a shot on Tuesday when I get some time. I’ll report back if I have any luck.

Profile
 
 
Posted: 30 April 2007 12:31 AM   [ Ignore ]   [ # 28 ]  
Summer Student
Total Posts:  23
Joined  09-29-2003

I have this same problem and I tried this Pipes hack. Didn’t work for me. Any other solutions?

Profile
 
 
Posted: 06 January 2008 02:18 PM   [ Ignore ]   [ # 29 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  149
Joined  12-13-2006

Looks like there hasn’t been any new developments on this, was wondering if anybody came up with a solution. I’m not using FeedGrab but just the included Magpie parser. It’s showing nothing in my template. Any ideas?

Profile
 
 
Posted: 30 January 2008 11:08 AM   [ Ignore ]   [ # 30 ]  
Grad Student
Avatar
Rank
Total Posts:  36
Joined  04-04-2007

Just stumbled on this thread, thought I would throw out that sometimes I have feeds break on me using both these plugins. Usually it is when a feed gets changed by the provider, like changing a node name or layout of the xml. The easiest way to fix a feed is to run it through yahoo pipes. - http://pipes.yahoo.com/pipes/

Profile
 
 
Posted: 30 January 2008 11:12 AM   [ Ignore ]   [ # 31 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  149
Joined  12-13-2006

Forgot to post back here with a followup. Lisa helped me get audioscrobbler parsing correctly with Magpie. Here was her solution.

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64939 Total Logged-in Users: 65
Total Topics: 81914 Total Anonymous Users: 39
Total Replies: 440332 Total Guests: 301
Total Posts: 522246    
Members ( View Memberlist )