Feed history in my Widget?

Newsgator Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Feed history in my Widget? Expand / Collapse
Author
Message
Posted 11/19/2008 1:36:37 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 5/10/2009 7:57:52 PM
Posts: 3, Visits: 15
Hi, I'm getting started with Widget development. I'm trying to base a widget on a feed, which is generated every hour and is random assortment of items selected from our content. It's not based on the latest published items.

I get that this is somewhat against the spirit of RSS, but thought it might be possible anyway. What I see is that my 10 random items make it into the feed but previously grabbed items seem to be held by newsgator, since later items from the past still seem to make it into my widget, which grabs three off the top. So, even though my current feed contents have changed, since the items in the feed at any given time might not be the LATEST by pubDate, the latest by pubDate (including those grabbed over some past timeframe) still 'win' in terms of making it into the widget.

I can imagine how I could hack the pubDate in the feed to somehow reflect faux-currentness for the feed's current contents. This feed is purposed only for my widgets that behave this way, and not promoted or published anywhere else. But is there something I can do in Newsgator's toolkit to prevent holding of items not currently in the feed? Are my assumptions about NewsGator's treatment of the items correct?

Thanks for any help.
Post #44422
Posted 11/19/2008 2:55:08 PM
NewsGator

NewsGator

Group: Administrators
Last Login: 8/25/2009 8:27:49 AM
Posts: 64, Visits: 269
Widgeteer,

It sounds like switching to a simple list type feed would get you exactly what you are looking for. Look at some of the documentation in this NewsGator wiki page: Ensure Your Post Items Appear in the Correct Order.

The basic story is this. For regular feeds (blogs, latest news, etc.) we aggregate the content from the feeds, and store them in our database so that people can read them at their leisure. If I go on vacation for a month (I wish), when I come back I may want to see all the stuff I missed while I was gone. If NewsGator only served up what is currently on the feed, i may miss a lot. It's sort of like the difference between going to the library and pulling up the microfiche for all the New York Times over the last year, and going down to the newsstand and buying today's copy.

But a list feed is for something like say, "Billboard's Top 40 hits". Or "Current NBA League Standings". It doesn't make sense to show things that are no longer on the list, and the order is important but not "pubdate" related at all.

Read over the docs. I think you'll agree that this is the way to go.




Dan Borrego
NewsGator Technologies,
Technical Support
Media & Data Services Products
Post #44423
Posted 11/19/2008 10:26:10 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 5/10/2009 7:57:52 PM
Posts: 3, Visits: 15
Dan, that was just the answer I needed. Easy as could be.

Thanks!
Pete
Post #44431
Posted 11/20/2008 9:39:35 AM
Forum Member

Forum Member

Group: Forum Members
Last Login: 5/10/2009 7:57:52 PM
Posts: 3, Visits: 15
Hmm...one extra point if you'll see this...having added the namespace declaration to support SLE to my feed, and the tag to cause the feed to be treated as a list, now my MediaRSS retrieval of images for my posts seems to be intermittent at best. Do you have any inkling for whether this could be related? It's the only change I've made that I can think of...

Thanks,
Pete
Post #44439
Posted 12/11/2008 2:14:33 PM


NewsGator

NewsGator

Group: Administrators
Last Login: 11/16/2009 12:00:17 PM
Posts: 37, Visits: 122
Pete,

I checked with our platform guys and widgets have not been set up to display SLE feeds properly. So to manipulate the order of a regular RSS feed, you will have to tweak the pubdates. If you want the order of posts to change predictably, be sure to use GUIDs for each of your posts (more info here)

Also, to refine what posts show up in the widget, simply use the Manage Articles utility within Editor's Desk. More info in our user's guide here.

--

Jenny Blumberg
Media & Consumer Products Support
NewsGator Technologies, Inc.

Post #44847
« Prev Topic | Next Topic »


All times are GMT -7:00, Time now is 2:53am

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.078. 7 queries. Compression Disabled.

NewsGator.com | Support | Developers | Partners | Press | Company
© Copyright 2003-2009  NewsGator Technologies, Inc. All Rights Reserved.
Copyright Information | Privacy Policy | Terms of Service
Microsoft Gold Certified Partner