Arabic RSS news feed tags
  • hi all,



    We are having a problem with installing RSS feed for ammannet. below is the test.tpl file which is suppose to generate the XML feed:



    --------------------------------------------






    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

    xmlns:dc="http://purl.org/dc/elements/1.1/"

    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

    xmlns="http://purl.org/rss/1.0/"

    >





    أخبار عمان نت

    http://ammannet.net

    ar

    إذاعة عمان نت

    Copyright © Ammannet Internet Radio Station

















































    <!** print article name>





    Ammannet Radio Station



    Copyright © Ammannet Internet Radio Station

    News

    ar









    --------------------------------------------



    However, I get this error when I access the file:



    --------------------------------------------

    The following tags were not closed: rdf:RDF, channel, items, rdf:Seq. Error processing resource 'http://ammannet.net/look/ammannet.net/test.tpl'.

    --------------------------------------------



    When I view the source of the page, it shows:



    --------------------------------------------






    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

    xmlns:dc="http://purl.org/dc/elements/1.1/"

    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

    xmlns="http://purl.org/rss/1.0/"

    >





    اخبار عمان نت

    http://ammannet.net

    ar

    إذاعة عمان نت

    Copyright © Ammannet Internet Radio Station







    --------------------------------------------

    As you can see, the XML file stops right when it start exceuting CampSite control tags. I asked few people around here and some of them suggested problems with the encoding of the XML file. I tried changing the encoding to UTF-8, UTF-16, ISO-8859-6, and finally to windows-1256 but with no success.



    And help is much appreciated.



    Thanks

    Raed

  • 2 Comments sorted by
  • No comments? No one can help us implement RSS with CampSite?!
  • At 12:33 13.01.2005, you wrote:
    >This message was sent from: Campsite Support.
    >
    >----------------------------------------------------------------
    >
    >No comments? No one can help us implement RSS with CampSite?!

    i am not including the original code. you can find it at the link above.

    from your description it seems to me that there is an error in your
    campsite code. i think. i am not going through it Wink

    what i suggest:

    get rid of all the XML stuff and just keep the campsite lingo. then call
    the page. i assume that this will be an empty page because something with
    the campsite lingo in your script is wrong.

    if everything comes up the way you want it to, try putting the tags in one
    by one - and tell me when it stalls. but i think it's your campsite lingo.


    Micz Flor - micz@mi.cz

    content and media development http://mi.cz
    -----------------------------------------------------------------
    http://www.campware.org -- http://crash.mi.cz -- http://sue.mi.cz
    "Das kommt in beiden Faellen Blau. Von Lila keine Spur."
    (Heike Bruysten)
    -----------------------------------------------------------------

    ------------------------------------------
    Posted to Phorum via PhorumMail