Page 1 of 2
Using an Atom feed
Posted: Thu Nov 14, 2013 10:02 pm
by Alexander vdhooft
I have an atom feed that I would like to use. When I create a service for it it seems to work when I look at the service response. You can create a response automatically. But when I try to use the service as a resource it does not work. Using a rss feed works fine. The atom feed that I use is: http://www.museumkaart.nl/Services/Sc...
Using an Atom feed
Posted: Thu Nov 14, 2013 10:14 pm
by Maryna Brodina
Hello! Sorry, not sure I understand what you mean on "when I try to use the service as a resource it does not work"? Do you have any errors in console? Could you clarify what is the exact problem?
Using an Atom feed
Posted: Thu Nov 14, 2013 10:28 pm
by Alexander vdhooft
Using an Atom feed
Posted: Thu Nov 14, 2013 10:28 pm
by Alexander vdhooft
I did not find any errors.
Using an Atom feed
Posted: Thu Nov 14, 2013 10:37 pm
by Alexander vdhooft
I just shared the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so you can have a look.
Using an Atom feed
Posted: Fri Nov 15, 2013 1:44 am
by Igor
Hello,
There is an error in service URL, you can't use quotation marks. You need to use escape symbols for quotation marks. Try to use URL without this parameter: predistance='10'/pre
Using an Atom feed
Posted: Fri Nov 15, 2013 7:46 am
by Alexander vdhooft
Using an Atom feed
Posted: Fri Nov 15, 2013 6:03 pm
by Alexander vdhooft
I have an other question. The following entry in the Atom feed:
code<d:Title xml:space="preserve">Naarden </d:Title>/code
Gives: code[object Object]/code as a result instead of Naarden
Do you know how to solve this?
Using an Atom feed
Posted: Fri Nov 15, 2013 9:34 pm
by Maryna Brodina
Hello! When you were creating response structure most likely you used xml which didn't have this structure pre<d:Title xml:space="preserve">Naarden </d:Title>/pre it was just pre<d:Title>Naarden </d:Title>/pre Additional parameters in tag change response structure. Please recreate response.
Using an Atom feed
Posted: Fri Nov 15, 2013 10:41 pm
by Alexander vdhooft
The problem is that they both exists. Some entries have the extra "xml:...", others not.