En cours

Simple XML hack (See code) Need XML children $10

I will pay $10 for the simple fix --- YOU MUST JOIN THE CATEGORIES INTO A SINGLE STRING

I am trying to scrape the Freelancer board listings, I can get the from the RSS feed but I am stuck getting the CATEGORIES for the projects.

1) It can be a single string

2) It can be an array

--------------------------------------------------------------------------

<?php

// Grab the job board listings

$url = "[url removed, login to view]";

$xml = simplexml_load_file($url);

$items = $xml->xpath("//item");

foreach ($items as $item){

// THIS WILL NOT JOIN THE CHILDREN

$categories = join( ",", $item->category);

echo $item->title."<BR>";

echo $item->pubDate."<BR>";

echo $item->link."<BR>";

echo $item->description."<BR>";

}

?>

----------------------------------------------------------------------------------------

Compétences : PHP, XML

Voir plus : simple description freelancer, rss link freelancer, php hack code, job board php freelancer, job board freelancer, getting freelancer rss feed, get string freelancer, freelancer rss feed url, freelancer job categories, fix hack, echo freelancer, code get, freelancer rss, freelancer job board, xml php array, simple fix, rss feed freelancer, hack a, freelancer br, freelancer board, code freelancer, br freelancer, hack item, xpath php, php simple xml

Concernant l'employeur :
( 13 commentaires ) Seattle, United States

N° du projet : #1606543

Décerné à :

profitcom220

I can help u,sir shortly.

30 $ USD en 0 jours
(63 Commentaires)
5.7

3 freelance ont fait une offre moyenne de 30 $ pour ce travail

Alkobazik

Please check PMB

30 $ USD en 0 jours
(15 Commentaires)
4.6
thesaw

hello i can help u

30 $ USD en 0 jours
(8 Commentaires)
3.2