![]() ![]() |
| helmesy |
Jan 31 2009, 05:06 AM
Post
#1
|
|
Group: Members Posts: 2 Joined: 31-January 09 Member No.: 7,686 |
Hi guys and girls
I'm not a very experienced website builder. I use a "do it yourself" page which is pretty easy to use. My problem is a client has sent me a feed link in XML. I can't work out how to get my HTML editor to read it. Any help would be greatly appreciated. |
| pandy |
Jan 31 2009, 05:17 AM
Post
#2
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,729 Joined: 9-August 06 Member No.: 6 |
What editor do you use? Any text editor is able to read an XML file and all other plain text files.
-------------------- |
| helmesy |
Jan 31 2009, 05:42 AM
Post
#3
|
|
Group: Members Posts: 2 Joined: 31-January 09 Member No.: 7,686 |
|
| Frederiek |
Jan 31 2009, 06:06 AM
Post
#4
|
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 3,546 Joined: 23-August 06 From: Europe Member No.: 9 |
What are you supposed to do with the XML? Is it to put an RSS feed on the site?
-------------------- "The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
| pandy |
Jan 31 2009, 06:51 AM
Post
#5
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,729 Joined: 9-August 06 Member No.: 6 |
Could this be right? Yes. As Frederiek asked, what do you intend to do with it? -------------------- |
| Brian Chandler |
Jan 31 2009, 07:06 AM
Post
#6
|
|
Jocular coder ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,143 Joined: 31-August 06 Member No.: 43 |
What editor do you use? Any text editor is able to read an XML file and all other plain text files. It's a do it yourself site provided by our hosting service. It appears to only be able to handle HTML. Could this be right? Thanks for the response BTW Seems like a bit of confusion here: any text editor can read an XML file, since it's just a "text file" format. But unless this is a once-off, and you just want to extract the text manually, that isn't a very good start. But you didn't answer Pandy's question anyway... _what_ is a "do-it-yourself site"?? What does it mean for a "site" to only be able to "handle" html? Probably you want to write a script to read (parse) the XML feed, and use it to generate the desired HTML. Should be fairly simple, but the PHP manual offers a baffling number of different systems for handling XML, so it needs a bit of work... -------------------- Brian Chandler
Nothing in this post constitutes "commercial solicitation". PayPal does not solicit residents of Japan. Contents may settle in transit. "Legal mind" may or may not be brain-damaged. |
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 06:24 PM |