Changeset 956 - RSS - 2008/03/24 22:25Really like all the new features that have been added. The placement of the date/time stamp is excellent and it was a nice surprise to see it grabbing some better artwork for some of the links.
The only "problem" I see (this may be difficult to describe) ... when you choose for example the CNET feed, on the next screen that shows the CNET links if the top description exceeds two lines AND you have a full menu of 8 items, then the "Update feeds" link will be forced off the bottom of the screen.
Thus, the top line description needs to be restricted to two lines.
Oh.. and while the weekday Dilbert comics are the perfect size, the Sunday comic strip is larger than (doesn't fit) the screen.
Still playing with this.... nice work.Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
After the update this morning, some problems appeared with duplicate entries etc. Check out the following screens:
Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 956 - RSS - 2008/03/25 09:48I would expect you to get duplicate items for some of the feeds you had before the last update.
Each item has a unique guid to identify itself, in the previous version this guid was not always being correctly read (it was empty). Now that your feeds have been updated it is now getting the correct guid but thinks it's a new item since it doesn't exist in your database.
If you get any 'new' items as of today that are being duplicated then let me know. I manually deleted my duplicates and none have been duplicated since so just leave them to 'expire'.Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 956 - RSS - 2008/03/25 09:51Back to your original post...
I'll trim the feed description to two lines. There's nothing I can do about images being too big for the screen, but you can use the arrow keys to scroll around. Some feeds provide multiple feed content, usually full html including images and a shorter plain text version. I preferred the full html as it looks better although it may not fit our screens that well.
I spent quite a bit of time on the media search to nicely integrate the RSS updates. I hope it now handles all possible requirements.
I don't have much left to do with this now. The Image,Audio,Video tags will stay until I get a better suggestion (hint!). The only thing I have left to do is to fix the 'back' to feed list. It currently always returns you to the first page of the list.
A future enhancement would be to allow assigning categories to feeds and being able to filter viewed/unviewed items. I've looked at both of these but both require quite a bit of work. Time to move onto some other feature to add Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 956 - RSS - 2008/03/25 09:54Pernod wrote: I would expect you to get duplicate items for some of the feeds you had before the last update. Ahhh..ok I removed the feed and re-added it then refreshed and the problem went away. I'll keep an eye on it.
Thanks.Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Zz9pzza
User
Posts: 144
Re: Changeset 956 - RSS - 2008/03/25 10:56Pernod wrote: There's nothing I can do about images being too big for the screen
It would be possible to use the gd library to force a maximum image size ?-- Server: Debian 4.0, Ram: 3 gig , Disc : 5 TB Client: Buffalo LinkTheatre, dLAN 200 AV MySQL 5.0.32-Debian_7etch1-log
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 956 - RSS - 2008/03/25 11:05It would be possible to use the gd library to force a maximum image size ? Ok, so how would I do that? The RSS items sometimes contain HTML which I currently simply echo to the page, others are just plain text. This HTML can include formatting, images, etc. If I knew I was simply receiving an image then yes it could be retrieved and resized before being displayed. Ideally I would like to define a window on the page that will contain and resize the HTML that is sent to it. Possible?Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 956 - RSS - 2008/03/25 18:07Stu2j wrote: when you choose for example the CNET feed, on the next screen that shows the CNET links if the top description exceeds two lines AND you have a full menu of 8 items, then the "Update feeds" link will be forced off the bottom of the screen. The CNET description is already shortened, it should have '...' at the end, looks fine on a PAL screen. I guess you're viewing on NTSC, does it overflow much?Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 956 - RSS - 2008/03/25 19:31Pernod wrote: The CNET description is already shortened, it should have '...' at the end, looks fine on a PAL screen. I guess you're viewing on NTSC, does it overflow much?
Yes, being in the good ole US, I have NTSC screens. It overflows by:
award-winnin...Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 956 - RSS - 2008/03/26 14:57Hey Pernod.. check out this link...
I've run into this a couple times now. This video feed serves up xvid.avi files which should work just fine but Swiss refuses to download them.Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 956 - RSS - 2008/03/26 16:00The content of the feed looks fine... I'll investigate. Do you have other feeds with the same problem?
The parser's returning: MagpieRSS: Failed to fetch http://revision3.com/diggnation/feed/xvid-small/ (HTTP Response: HTTP/1.0 301 Moved Permanently )!!!!Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 956 - RSS - 2008/03/26 16:34>>>Do you have other feeds with the same problem?
Revision3.com is full of feeds that all have the same type of file format and thus the same problem.Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 956 - RSS - 2008/03/27 19:27Pernod wrote: The parser's returning: MagpieRSS: Failed to fetch http://revision3.com/diggnation/feed/xvid-small/ (HTTP Response: HTTP/1.0 301 Moved Permanently )!!!!
Was this meant to suggest that you can't fix it? Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Zz9pzza
User
Posts: 144
Re: Changeset 956 - RSS - 2008/03/27 19:42Pernod wrote: It would be possible to use the gd library to force a maximum image size ? Ok, so how would I do that? The RSS items sometimes contain HTML which I currently simply echo to the page, others are just plain text. This HTML can include formatting, images, etc. If I knew I was simply receiving an image then yes it could be retrieved and resized before being displayed. Ideally I would like to define a window on the page that will contain and resize the HTML that is sent to it. Possible?
Ok I can see what you mean. We would have to parse each bit of html and notice it's an image, download it and process it. This would have the advantage that in the case where the server can see the Internet and the media server can't the image would still be displayed.
So not trivial.....-- Server: Debian 4.0, Ram: 3 gig , Disc : 5 TB Client: Buffalo LinkTheatre, dLAN 200 AV MySQL 5.0.32-Debian_7etch1-log
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 956 - RSS - 2008/03/27 20:43Was this meant to suggest that you can't fix it? Dunno yet. The RSS reader is using two other open source projects, one to parse the actual feed (Magpie), and the other to mimic a browser to get the feed (Snoopy).
I now fully understand Magpie and am confident fixing this if required. But Snoopy handles HTTP headers with re-directs and cookies which I know nothing about. I'm learning and I'm sure I'll come up with something eventually.
I knew nothing about RSS a couple of weeks ago so there's hope.Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 956 - RSS - 2008/03/28 12:20You'll be glad to know that I now have a solution
I'll submit the changes when I fully understand any potential implications.Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 956 - RSS - 2008/03/28 15:30Pernod wrote: You'll be glad to know that I now have a solution Never doubted you for a moment Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 959 - RSS - 2008/03/30 14:18Revision3 Network appears to be working great now!
Nice job Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 959 - RSS - 2008/03/30 20:07Stu,
Regarding your overflowing descriptions could you experiment with rss_feeds.php by changing line 17:
$synlen = ( is_screen_hdtv() ? 1200 : 325) * 4;
Simply reduce the 325 and let me know what value works for you, I suspect 320 should be adequate.
After the todays update you should also find that previous audio/video feeds that you'd have expected to work but didn't should now be good. You'll have to remove and re-add the feed to re-download the content. This was due to a bug with downloading re-directed content.Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 959 - RSS - 2008/03/30 21:02OK.. I reduced the value by 1 until the problem completely disappeared and the magic number is 288.Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 959 - RSS - 2008/03/31 23:49Pernod... I think we have stumbled on to something huge...
Many of the styles never looked quite right especially with regard to the menus themselves. I could never figure out what the hell was going on and why I was getting such a crappy translation from the PC to the TV.
After making the change per above to stop the word wrap on the RSS. ALL of the styles and menus magically looked GREAT.
This isn't a small thing. The difference is really something.
Someone else using NTSC should test this to see if they get the same results that I am seeing.Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1335
Re: Changeset 959 - RSS - 2008/04/01 06:02The change you made will only affect the one screen after selecting a feed. There is no way it could make a difference to every screen you see. Can you describe how it looks better?
Anyway, I have another issue with RSS now to solve. Just try any foreign language feed, the encoding is all wrong Player : Netgear EVA700 & Popcorn A-100 (081106) Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
| | The administrator has disabled public write access.
Stu2j
User
Posts: 1234
Re: Changeset 959 - RSS - 2008/04/01 08:44Pernod wrote: There is no way it could make a difference to every screen you see. Oh crud. Now I have to try and figure out what changed.
Can you describe how it looks better? This is difficult to describe but when you look at the menu bars there is a highlight at the top. Picture that being reproduced/duplicated as an extra line below the menu bar. See this illustration:
In some cases, this simply gave an extra effect (top and bottom of bar highlighted while in other cases it was just damn annoying (an extra item seemed to be on the screen). This problem appeared with the use of menu bars.
However, something I did (recently) fixed this problem and the menus now look great. Crap I wish I knew exactly when this happened Showcenters 1000g/200/250HD Popcorn Hour A-100 Netgear HDX101 Powerline Adapters Windows XP Simese 2.07 running latest SVN NAS Server IBM NetVista 900Mhz/256RAM
| | The administrator has disabled public write access.