ATOM Feed parsing in Flex

I need to parse an Atom Feed and display it into a Flex UI.
As part of UI I am providing navigation links such as:
Next Page, Previous Page, First Page and Last Page.
The Feed looks like this:
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Alert Feed</title>
  <link rel="self" type="application/atom+xml" href="/alerts?page=1" />
  <link rel="next" type="application/atom+xml" href="/alerts?page=2" />
  <link rel="last" type="application/atom+xml" href="/alerts?page=4" />
</feed>
How can I read the next page href value when the user clicks on Next Page navigation link?
Thanks,
SAM

I'll bet if you search the forum history you'll find other questions and
answers on this topic.

Similar Messages

  • Need help in displaying a feed within my flex app

    Hello guys,
    I was hoping that someone can push me in the right direction. I am looking to display our feed within our Flex Application. I am using some of the sample from tour de flex
    This is what I have so far:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         width="960" height="850">
         <fx:Script>
         <![CDATA[
              import flashx.textLayout.conversion.TextConverter;
              import flashx.textLayout.elements.TextFlow;
              import spark.utils.TextFlowUtil;
              XML.ignoreWhitespace = false;
         ]]>
         </fx:Script>
         <fx:Style>
              @namespace s "library://ns.adobe.com/flex/spark";
              @namespace mx "library://ns.adobe.com/flex/mx";
              @namespace components "components.*";
              s|WindowedApplication {
                   background-color:#000000;
                   background-alpha:"0.9";
              s|ButtonBar s|ButtonBarButton:upAndSelected,
              s|ButtonBar s|ButtonBarButton:overAndSelected,
              s|ButtonBar s|ButtonBarButton:downAndSelected,
              s|ButtonBar s|ButtonBarButton:disabledAndSelected {
                   chromeColor: #00529c;
                   color: #FFFFFF;
              s|ButtonBar {
                   chromeColor: #053867;
                   color: #FFFFFF;
         </fx:Style>
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
              <!--<s:HTTPService id="srv" url="http://feeds.feedburner.com/standforisrael/iWIn?format=xml" />-->
              <fx:XML id="srv" source="http://feeds.feedburner.com/standforisrael/iWIn?format=xml" />
         </fx:Declarations>
         <s:ButtonBar dataProvider="{myViewStack}" y="175" height="35" width="700" />
         <mx:ViewStack id="myViewStack" borderStyle="none" x="0" y="209" width="700" height="500">
              <s:NavigatorContent id="home" label="Home">
              </s:NavigatorContent>
              <s:NavigatorContent id="about" label="About Us">
              </s:NavigatorContent>
              <s:NavigatorContent id="rabbi" label="Rabbi Eckstein">
              </s:NavigatorContent>
              <s:NavigatorContent id="rabbiCom" label="Rabbi's Commentary">
              </s:NavigatorContent>
              <s:NavigatorContent id="programs" label="Our Blog">
                   <s:RichText id="rt5" width="280"
                        textFlow="{TextFlowUtil.importFromXML(srv)}" />
              </s:NavigatorContent>
         </mx:ViewStack>
    </s:WindowedApplication>
    Now when I run this I get a prompt that is telling me that if the program is already running to stop the program... I have no idea what program it is that i'm running that would prompt that type of dialogue box.
    I also get these errors:
    Unexpected processing instruction encountered and will be ignored. Found: type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css" IFCJ.mxml /IFCJ/src Unknown Flex Problem
    Unexpected processing instruction encountered and will be ignored. Found: type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl" IFCJ.mxml /IFCJ/src Unknown Flex Problem
    Is there anything that I am not doing right here?
    Any help would really be appreciated,
    Thank You

    I did try HTTPService but the problem that I was seeing was that I would need to push the information into a datagrid and that really doesn't help me witth presentation of the blog posts.
    What if I create a custom component that takes the RSS feed and parses it into sections like so:
    Title
    Description
    Link
    Where lets say the title is like so:
    [Bindable]
                public var title:String; <-- this is where I get stuck
    <s:Label x="0" y="80"
            text="{title}"/>
    I would like to also have that title wrapped in a url so that when the person is looking at our RSS they can click either the title or the read more link
    What else can i do?

  • "We had difficulty reading this feed. null" Atom feeds no longer work?

    Hi - our Audioboo feeds used to work fine when submitting as a podcast (eg http://audioboo.fm/users/4705/boos.atom). It seems like they stopped working recently - maybe in the past couple of days - and just report "We had difficulty reading this feed. null" when you try to submit them.
    I'm beginning to suspect that the use of atom rather than rss is the cause. Can anyone confirm?
    -Jonathan

    This feed can be subscribed to manually in iTunes (from the 'Advanced' menu) - actually I'm rather surprised it works because it isn't a valid podcast feed (though it is a valid Atom feed).
    It has the iTunes 'declaration' and some itunes tags, although the former is contained in a 'feed' tag whereas it should be a 'rss' tag: there is no 'channel' tag enclosing the podcast data, no 'item' tags enclosing each episode, and no 'enclosure' tags within each episode containing the media URL. I'm not surprised you can't submit it as a podcast, and as I say it's a but surprising that the iTunes application recognizes it.
    In order to get it accepted in the iTunes Store you need to create a feed in the correct format: this page contains a sample basic feed so you can see how it should look:
    http://www.wilmut.org.uk/pc
    If the feed contains the valid iTunes format it can also contain atom tags, which iTunes will ignore.

  • Retrieving the new entries of an updated ATOM feed/API

    I am using Java servlets to read several ATOM feeds.while reading those feeds below is the problem which i encountered
    An illustration of the problem .....................
    Suppose
    At 9:00 AM
    Feed entries are
    X
    Y
    At 9:10 AM
    Feed entries are
    a
    b
    c
    X
    Y
    newly added entries are a,b,c
    i read the feed at 9:00am and noted down the entries X,Y
    after 10 minutes again i read the feed
    using Etag (or) id method i detected that the feed has changed....................
    now how to retrieve those newly added entries of a feed at 9:10 Am?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    i thought of following the below approach
    at 9:00 Am notedown the entry id of latest entry...............................
    at 9:10 Am (it is modified) read the feed entries until you get the entry who id is equal to the entry which we stored at 9:00Am
    These entries which we read here are newly added ones...............
    is this the right approach to get the newly added entries of a feed?
    (or) is there any efficient approach ?
    --rama
    Edited by: Ramaa on Oct 17, 2008 5:51 AM

    I am using Java servlets to read several ATOM feeds.while reading those feeds below is the problem which i encountered
    An illustration of the problem .....................
    Suppose
    At 9:00 AM
    Feed entries are
    X
    Y
    At 9:10 AM
    Feed entries are
    a
    b
    c
    X
    Y
    newly added entries are a,b,c
    i read the feed at 9:00am and noted down the entries X,Y
    after 10 minutes again i read the feed
    using Etag (or) id method i detected that the feed has changed....................
    now how to retrieve those newly added entries of a feed at 9:10 Am?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    i thought of following the below approach
    at 9:00 Am notedown the entry id of latest entry...............................
    at 9:10 Am (it is modified) read the feed entries until you get the entry who id is equal to the entry which we stored at 9:00Am
    These entries which we read here are newly added ones...............
    is this the right approach to get the newly added entries of a feed?
    (or) is there any efficient approach ?
    --rama
    Edited by: Ramaa on Oct 17, 2008 5:51 AM

  • How to Transform POJO to ATOM Feed entry

    Hi,
    I have a Java Object which I need to use in order to construct an ATOM Feed Entry.
    The Entry should look like this:
    <entry>
        <title>Details</title>
        <content type="application/xml">
          <ooo:information xmlns:ooo="http://test.company.com">
            <ooo:type>var_ConfigType_00</ooo:type>
            <ooo:ID>var_InstanceID_00</ooo:ID>
            <ooo:properties>
              <ooo:property name="abc.1" value="xyz.1" />
              <ooo:property name="abc.2" value="xyz.2" />
              <ooo:property name="abc.3" value="xyz.3" />
              <ooo:property name="abc.4" value="xyz.4" />
              <ooo:property name="abc.5" value="xyz.5" />
            </ooo:properties>
          </ooo:information>
        </content>
      </entry>I am using abdera like this:
    Abdera abdera = new Abdera();
            Factory factory = abdera.getFactory();
            Entry entry = factory.newEntry();
            entry.setTitle("Details");Now what should I do to set the contents so that my entry looks like above.
    Thanks
    SAM

    you may try some XML binding tool instead of DOM. (e.g. http://xstream.codehaus.org/tutorial.html).
    There is no problem generating DOM. Its about generating oracle.xdb.XMLType using java api. Could you show a code snippet that would generate XMLType using xstream or other XML binding tools ?
    2) you may use DBMS_XDB.CREATERESOURCE to create a resource from varchar2 or clob parameter.
    Could you show a code snippet that inserts into Secure Binary XMLType table using CreateResource ? Im not using schema. Also Varchar supports 32kb. Conversion from Java String XML to CLOB is expensive ( because Oracle uses jdbc connection)

  • Displaying Release Date from Atom Feed

    When using an atom feed with iTunesU, we find that the Release Date field does not show meaningful data. The field contains the value of today in every
    instance. I wonder if there is any way to make Release Date show the contents of the <updated/> element, or to otherwise modify the feed to enable use of the Release Date field?
    The feed is here:
    http://www.cs.washington.edu/events/colloqvidcast.xml
    Thanks, Fred

    I can attempt to offer just a bit of assistance; however, I don't and haven't used Atom for feeds, so my experience is limited to RSS only.
    The Release Date field in the iTunes U Store and iTunes application rely on the pubDate tag in the iTunes xml namespace.
    For details, please see the following link:
    http://www.apple.com/itunes/store/podcaststechspecs.html#rss
    The page explicitly mentions RSS, but does not explicitly say that ATOM will not work, so YMMV.
    Hope this gives you a starting point.
    ~David

  • ITunesU cannot update atom feed

    Hi: Running Podcast Producer 2 in a Snow Leopard machine, and the Podcast Library is stored on the same computer. Without any changes, we are getting the bellow messages for all of ours atom feeds on iTunesU.
    Is anyone else experiencing the same problems.
    I can access the Podcast Producer library from a public computer and all content is there. For whatever reason, iTunesU don't seem to be able to update.
    Thanks,
    Dear iTunes U administrator, instructor, or course manager,
    Your 'CLASS OF 2014 FALL SEMESTER 2010' course in your umich.edu iTunes U site populates its track list automatically from an Atom feed, based on the podcast Atom feed URL and details you specified. iTunes U encountered the following error while trying to access the podcast Atom feed:
    iTunes U could not update the content because iTunes U could not download the specified feed (http://servername.x.x.x.x:8171/podcastproducer/atomfeeds/730B3E46-7282-4E53-A349-8897412A9535). Until the issue is resolved, iTunes U continues to display the last downloadable version of the content. Verify that the feed specified in the feed URL field and the resource are available, and then try again.
    To check your iTunes U podcast Atom feed URL and details, Atom Feed Settings located at Michigan > Schools and Colleges > Dental School > Dental Students > Class of 2014 > CLASS OF 2014 FALL SEMESTER 2010.
    Sincerely,
    The iTunes U Team

    We're getting this message as well, but it's from an RSS feed, not an atom feed. See below.
    As far as I know, this happens when iTunes U tries to refresh a feed, but encounters a timeout getting the new RSS/Atom XML document.
    I'd love to know if we can suppress these notices, if they are just a notification. Our faculty get these emails because we add their email when we register their RSS feed in iTunes U.
    Anyone have any ideas?
    Dear iTunes U administrator, instructor, or course manager,
    Your 'Swahili - Journals' course in your indiana-public iTunes U site populates its 'Feed' group track list automatically from an RSS feed, based on the podcast RSS feed URL and details you specified. iTunes U encountered the following error while trying to access the podcast RSS feed:
    iTunes U could not update the content because iTunes U could not download the specified feed (https://deimos.apple.com/WebObjects/Core.woa/Feed/indiana.edu.2945205213.0294520 5222/[email protected]/004b2663f4213d4e468bf00d735d7d0f628f10b8c80d118f7a5470ace 59f1f658821275071). Until the issue is resolved, iTunes U continues to display the last downloadable version of the content. Verify that the feed specified in the feed URL field and the resource are available, and then try again.
    To check your iTunes U podcast RSS feed URL and details, edit your Course page group located at Indiana University > CATEGORIES > Education > Education > Swahili - Journals > Feed.
    Sincerely,
    The iTunes U Team

  • [new] akregator RSS/Atom feed reader

    akregator 1.0 beta 10 allows you to browse through thousands of internet feeds without the hassle of using a web browser.
    PKGBUILD
    pkgname=akregator
    pkgver=1.0_beta10
    pkgrel=1
    pkgdesc="akregator RSS/Atom feed reader"
    license="GPL"
    url="http://akregator.sourceforge.net/"
    source=(http://dl.sourceforge.net/sourceforge/akregator/akregator-1.0_beta10.tar.gz)
    md5sums=('fa4e9ba5e14f0f537d2c4060be62f383')
    build() {
    cd $startdir/src/akregator-1.0_beta10
    ./configure --prefix=/opt/kde
    make || return 1
    make prefix=$startdir/pkg/opt/kde install
    http://www.linux-blog.de/download/arch- … pkg.tar.gz

    I am new to dreamweaver and have undertaken the cd training, however I am unable to find information on how to add an rss feed reader to my site and which extension is most appropriate. I would really appreciate if someone could advise me how i go about adding the feed reader to my site so I can show content generated by Feeds from other websites. I would also appreciate any advice on which reader is most compatible with CS5
    I went to the Adobe Exchange for Dreamweaver and search on "rss" and got 14 hits:
    http://www.adobe.com/cfusion/exchange/index.cfm?searchfield=rss&search_exchange=3&search_c ategory=-1&search_license=&search_rating=&search_platform=0&search_pubdate=&num=25&startnu m=1&event=search&sticky=true&sort=0&rnav_dummy_tmpfield=&Submit=
    Maybeone of the Dreamweaver Extensions does what you want.
    Hope this helps,
    Randy

  • What is Newsstand Atom Feed?

    Pardon me for asking more of an Apple question, but can anyone explain what Newsstand Atom Feed is in iTunes Connect>Manage Newsstand? I've read the iTunes documentation and still don't understand it.
    https://itunesconnect.apple.com/docs/NewsstandAtomFeedSpecification.pdf
    Is Atom Feed something that we should be integrating into our DPS apps? What exactly does it do?
    Thanks,
    Steve

    The metadata you specify in Atom Feed appears in the App Store and in iTunes when users are looking at your app details. DPS Newstand apps themselves ignore the images and metadata you specify in Atom Feed. For DPS apps, the cover image in Newsstand is initially the image you specify in App Builder, and then it changes to the portrait cover image of the most recent folio after a push is sent.

  • Weird: cannot process atom feed, because server return 200

    I submitted an atom feed to newsstand, and the second day I found this in my inbox.
    Does anyone know what is going on? Server returns 200 should mean "OK"…

    Thanks, I checked the URL and the data, no problem was found so far…
    And I also tailed the server log, turns out that only some of the data were visited. My server is in China, so it looks more like an «operation time out» now.
    Now I'm putting those data on a server based in US, hopefully it will work.

  • SSRS Atom feed as JSON format

    Is there anyway to get tablix data in JSON format from Atom Feed generated by an SSRS report?
    Tried HTTP header Accept:application/json, but didn't work. the server still returns XML.

    No, Reporting Service offers only an Atom feed, no other data services.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Consume ATOM feed via ODI - possible?

    Hi,
    I'd like to have ATOM feed consumed by our DWH via ODI. I'd appreciate if somebody can help with answers of these questions:
    - is it possible for ODI to consume XML from some HTTP URL, calculated while the inport script is running?
    - is it possible for ODI to POST an xml to predefined location and keep the response in some temporary variable for later use
    - is it possible to use HTTP headers with ODI when doing a GET?
    BR,
    Georgi

    For HLS Streaming, the video codec should be H.264 and audio codec should be AAC/HE-AAC. So, if you are publishing from your webcam using flash player then you will have to encode camera feed to H.264 codec and if you are publishing from FMLE then you will have to select video format as H.264 and audio format as AAC.
    For more details about converting camera feed to H.264 codec using flash player, you can check the following link:
    http://www.adobe.com/devnet/adobe-media-server/articles/encoding-live-video-h264.html

  • Atom feed error message

    I have a Mac Book Pro which I have just received and installed ilife 09 and 10.5.6.
    I have two accounts on this computer, one for myself and one for my wife.
    We both have .mac accounts.
    When I subscribe to my mobile me gallery iphoto starts up and creates a new subscription folder and all is working fine.
    When I log out of my account and use my wifes account to do the same thing I get an error message about an atom feed.
    Can anyone help??
    Many thanks in advance!!

    I have the same error when I post my pictures to the ME gallery with iPhoto '09. If you take a look at the link that it is pointing to when you subscribe to the gallery on the other Mac, you will see that it points to the mac.com domain, if you change that to the me.com domain it resolves the issue and lets you subscrive without the error. I have not found a permanent solution to this and will need to contact Apple to see if they have one.

  • Why isn't Firefox rendering RSS or Atom feeds?

    Firefox used to style RSS/Atom feeds when they were accessed directly by URL, and if not, would at least display the raw XML source. But for many versions now, maybe since the RSS icon was removed, visiting any feed will only show a subscribe now button with a pulldown list of helper apps, but zero content, as if the feed was empty. However, viewing source for the page shows the XML. And this isn't an issue of a bad feed, since I ran several of them through the W3C validator and they passed. I also experience this issue with a clean profile and no addons. Is there any way of showing feed content again, preferably styled?

    ''There is still an RSS feed icon available, but it is in the Customize palette and you need to drag it on a toolbar yourself.''
    The icon is not an issue. It is the feed content that doesn't work for me.
    ''Are there any errors in the Web Console (Firefox/Tools > Web Developer)?''
    YES! This is what it shows when run on every feed I try in safe mode:
    TypeError: this._feedWriter is null subscribe.js:21
    Use of Mutation Events is deprecated. Use MutationObserver instead. menulist.xml:240
    uncaught exception: out of memory
    TypeError: this._feedWriter is null subscribe.js:17
    ''What does the page inspector show if you right-click the space where the feed content should be?''
    An empty element. This is the entire content from the inspector: http://pastebin.com/f0hkn9VD
    ''Is there a feedBody DIV and a feedContent DIV?''
    Yes, see paste above.
    ''What is the setting for Web Feed in Firefox > Preferences > Applications''
    The default "preview in firefox".

  • Twitter Feed Within A Flex/Air Application

    I am attempting to advance an appilcation I've created so that it incorporates a live twitter feed i.e. when users access the application their own twitter feed is shown within it and is updated live.
    I have no experience in using either twitter itself or how to incorporate twitter feeds into a flex/air application specifically and was wondering if anyone can tell me exactly what I'd need to do to achieve this?
    A further addition my client has requested is the use of live images. The app itself is basically an interactive favourites menu with users clicking on and adding links to sites within the app. Each of these links is represented by an icon which is basically a screenshot of each site. I want to alter this so that these images change live AS the site themselves change so they are constantly up to date. Is this also possible at all and if so can anyone give me advice on how this could be achieved?

    Thanks a lot. I've used another method that simply lets the user enter their twitter name and it loads their live feed. I suppose that way would work too though. Cheers.

Maybe you are looking for

  • Firefox opens up but will not open ANY links or websites

    Basically fire fox will open to the homepage and that's it. If I type in the search bar or link/navigation bar and hit enter, nothing will happen. Clicking on a bookmark or a link from the history will not do anything. FIrefox simply will not respond

  • Can´t install cd recorder in linux... help please, newbie

    hi, is there any problem with via chipsets and cd recorders in linux??   I´ve been trying to install a linux distro in my pc ( see end of post for specs), but i haven´t succeded in installing my cd recorder. I´ve tryed RedHat 8.0 and Mandrake 9.0. In

  • Question Not Displaying on Slide

    I have a Cap 2 module that I have converted to Cap 3 and applied a new dark background to (I pasted the new background and Meged into background on all the slides). I then double clicked on the questions and answers and changed the font color to whit

  • How to set Assignment details in RSBBS

    Hi Experts, RRI is used in dev.I want to know how to set assignment details.What's the meanning of Type ,selection type and required entry? pls be more specific.Thank you. Best regards, Gavin

  • Cookies reappear after deleting.

    Safari 6.1.4 (and older): I remove cookies a couple of times a day and have noticed that some reappear either immediately after leaving the site, or later that day or even the next day. Sometimes afer quitting Safari and computer put to sleep. Some r