Hello PHP people. I'm trying to use simplexml to gather info from a
google calendar feed, and I've run into a problem where the google xml
has a namespace prefixed to some fields, and I don't know how to deal
with this colon. For instance:
$xml_data = simplexml_load_file($xml);
foreach
Hi,
I've a problem in creating a xml-file for a dynamic rss-feed.
When I try to read the feed in my feedreader RSSowl I get an
errormessage that the xml was not formated properly
The feed should present boardentries in a short description.
Because there are much articles the feed should show
Hi
the first line is badly formed
xml version=1.0 encoding=ISO-8859-1
Should be:
?xml version=1.0 encoding=ISO-8859-1 ?
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Niel Archer wrote:
Hi
the first line is badly formed
xml version=1.0 encoding=ISO-8859-1
Should be:
?xml version=1.0 encoding=ISO-8859-1 ?
ok by beginning the php-code with ?php I fixed the problem.
Unfortunately my RSSowl tell me that there must be other errors in the
xml-formating.
Hi
ok by beginning the php-code with ?php I fixed the problem.
Unfortunately my RSSowl tell me that there must be other errors in the
xml-formating. And I don't got a detailed information what RSSowl
dislike in the xml-file.
Try opening it in a browser. Opera, for example, tells you what
how i can create web-mail by using phpmysql
Niel Archer wrote:
Hi
ok by beginning the php-code with ?php I fixed the problem.
Unfortunately my RSSowl tell me that there must be other errors in the
xml-formating. And I don't got a detailed information what RSSowl
dislike in the xml-file.
Try opening it in a browser. Opera, for
Hi Niel,
firefox tells me that it dislike the closing xml-tag.
In my quanta-editor it seems that can be difficulties with the tagend of
the opening xml-line of the second position of the questionmark.
Because you missed the space in front of it.
You really need to find out more about
Hi
Du you know a good tutorial for XML and RSS, possible relating with PHP.
Not a tutorial, no. I got my information from the specification
documents.
You should consider changing your method. Instead of creating the
RSS/XMl file manually, try using one of the PHP extensions that will