#5 Parsing Blogger ATOM feeds

0.3
open
Bug (6)
5
2005-07-11
2005-07-06
Richard Warriner
No

I have successfully tested your component on some
RSS feeds but the one i really want to use it with is the
atom feed from my blog, which is auto created by
Blogger.

Using the AddTest example on your site i have read the
file in and it identifies all the postings, with their
headers, dates, urls etc but the actual post body is
empty.

Is this format supported fully yet?

If you want to test it see http://www.the-
warriners.org/atom.xml or use attached

Thanks

Discussion

  • Logged In: YES
    user_id=1308627

    Also see how each post has 2 links, the first like
    https://www.blogger.com/atom/7972549/11206648556142109
    5 and the second like http://www.the-
    warriners.org/blog/2005/07/long-time-no-post.html

    The component seems to return the first one in the .link
    property but it would be more use the have the other. I dont
    know how much if this is a Blogger issue and not really to do
    with parsing? But in order to be useful to me it would need to
    give the second url.

    Cheers

     
    • assigned_to: nobody --> rmaclean
     
  • bugfinder
    bugfinder
    2006-04-18

    Logged In: YES
    user_id=1213174

    Im having the same issue. Is this project still alive?

     
  • bugfinder
    bugfinder
    2006-04-18

    Logged In: YES
    user_id=1213174

    This doesnt help a lot but it does some

    In simpleparseratom comment out lines shown and replace with
    the ones under. It works for most.

    // if (aTempNode.ChildNodes.Count>0) then begin
    // Description :=
    ChildNodes.Nodes[Counter].ChildNodes.FindNode(reContent).ChildNodes.Nodes[0].NodeValue;
    // end else begin
    // Description :=
    ChildNodes.Nodes[Counter].ChildNodes.FindNode(reContent).NodeValue;
    // end;
    if (aTempNode.ChildNodes.Count>2) then begin

    Description:=atempnode.childnodes.Nodes[1].childnodes.Nodes[0].nodevalue;
    end else begin
    Description := atempnode.NodeValue;
    end;