I have never worked before with RSS.
I have tried to print it with <iframe>
but it was a silly try.
I am well familiar with PHP/CSS/HTML and I want to know how I can print the RSS info in HTML/PHP page from this RSS link:
http://grabo.bg/rss/?city=&affid=16090
Do i need any parser or something? Please tell me how I can print this content in html form?
What i have to know about RSS?
it is just xml. All you have to do is curl that page or:
$feed = file_get_contents('http://grabo.bg/rss/?city=&affid=16090');
And after that to say:
$rss = simplexml_load_string($feed);
and then say
foreach($rss as $r){
//in your case
echo $r->title;
echo $r->content;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.