I hesitate to bring this up again, because you're probably all sick of this
just like me.  But I want to put this issue away now.  It's about my
webservice for Bluegrass Australia's Anniversaries  database.

I took up Dave Watt's suggestion and decided to produce a RSS feed.  Only I
found two problems there:

[1]  My server adds a line feed to the beginning of the xml document, which
means that the feed doesn't validate - the <?xml declaration is on line 2
not line 1.    When I use the same code on my PC it produces the correct
file, with the declaration on line 1 and that error goes away.    I guess I
can run it on my pc every day and have a scheduled task upload it to the
site as one way around this,  but how can I force my server to stop adding
the line feed at the top of the file?

[2]  I'm not producing a defined news feed - it's a different set of data.
I thought the whole point of  XML was that you could define your own tags
and fields.  Am I heading down another cul-de-sac here thinking about
attempting to produce RSS containing fields like Event, Day, Month, Year,
name, comments instead of the more usual news fields?

(for those who missed the story to date, I'm attempting to share a database
of birthdays, events, anniversaries with other sites, and the PHP site
owners most likely to use the data seem blinkered at going anywhere but RSS.
Don't seem to know anything but RSS and don't really want to learn by
themselves.   Dave Watts made an eminently sensible suggestion, I thought,
by saying 'if they only want RSS,  why not give them RSS?')

Cheers

Mike Kear

Windsor, NSW, Australia

AFP Webworks

http://afpwebworks.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to