Jump to content

Search the Community

Showing results for tags 'atom rss'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hi, I am trying to read the atom atom rss standard with the following code, but I do not manage to read the LINK & CONTENT. Could you please help me ? I have posted my php code here and I also attached a sample of the XML code i am reading with its source link under here. Thank in advance for your help. <?php function getFeed($feed_url) { $content = file_get_contents($feed_url); $x = new SimpleXmlElement($content); echo "<ul>"; foreach($x->entry as $entry) { //WORKS echo $entry->title; echo $entry->author->name; //DOESNT WORK echo $entry->content; echo $entry->link; } echo "</ul>"; } ?> A sample of RSS code I am reading : <?xml version="1.0" encoding="ISO-8859-1"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>FINN jobb - Alle stillinger</title> <link rel="alternate" href="http://www.finn.no/finn/job/fulltime/result/" title="FINN jobb - Alle stillinger" /> <rights>Copyright 2010</rights> <logo>http://cache.finn.no/img/logofinn.gif</logo> <entry> <title>Lyst å jobbe med IT support?</title> <link rel="alternate" href="http://www.finn.no/finn/object?finnkode=38539103" title="Annonse" /> <author> <name>People4you It Bemanning AS</name> </author> <published>2012-11-24T00:07:00Z</published> <content type="html"><div><div style='float:left;'>Sted: Oslo<br/>Firma: IT People4you<br/>Tittel: Support / brukerstøtte<br/>Kategori: IT / Telekommunikasjon / Internett, IT / Telekommunikasjon / Internett<br/></div></div></content> </entry> Source
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.