![]() | | ||||||||
| | #1 |
| Senior Warrior Member War Room Member Join Date: Jun 2007 Location: Los Angeles, CA
Posts: 1,675
Thanks: 148
Thanked 36 Times in 19 Posts
|
hi, i have a xml feed that i want to use with a php page... but it's not working the way i do it...which is (basically copy and paste the xml feed and put it into my php page). anyone know how to use XML feed into php? thanks BJ ps...i am using FRONTPAGE to create this php page...and not sure how to incorporate the xml feed into the page...do i just add all the codes in xml page to the php page? |
| | |
| | |
| | #2 |
| Philipp Kostin War Room Member Join Date: Sep 2006 Location: Planet Earth
Posts: 70
Thanks: 16
Thanked 6 Times in 6 Posts
|
There are a lot of fast and good feed parsers but you might need to do some customizations. A very easy and basic one is Magpie RSS - PHP RSS Parser If you are familiar with PHP and know what you need, i'd suggest SimplePie: Super-fast, easy-to-use, RSS and Atom feed parsing in PHP. - it is very powerful and supports a lot of XML / RSS standards Hope that helps |
| | |
| | #3 |
| Senior Warrior Member War Room Member Join Date: Jun 2007 Location: Los Angeles, CA
Posts: 1,675
Thanks: 148
Thanked 36 Times in 19 Posts
|
i use frontpage 2003 to create into PHP pages... but when i insert the XML codes into the frontpage php page... it comes all jumbled up... are there any WYSIWYG type of php softwares? i really want to create this site but i dont know why frontpage is not working... |
| | |
| | |
| | #4 |
| Philipp Kostin War Room Member Join Date: Sep 2006 Location: Planet Earth
Posts: 70
Thanks: 16
Thanked 6 Times in 6 Posts
|
Not sure what you mean - if you try to insert plain XML it will be rendered as XML and not link + description. So you need to parse XML in PHP and then create a nice output. You could leave the PHP parser in a separate file and then just add something like <?php include("myphpparser.php"); ?> in your frontpage template |
| | |
![]() |
|
| Tags |
| feed, php, question, xml |
| Thread Tools | |
| |
![]() |