Hello guest  |  Login  

User Menu

You do not need to edit your Links Pages manualy any more
Use the following PHP code to automate this process:

$siteID="<your site id>";

$doc = new DOMDocument();
$doc->load("http://www.linksrepository.com/rss.php?siteID=$siteID");
$arrFeeds = array();
foreach ($doc->getElementsByTagName('item') as $node) {
     $itemRSS = array (
     'title' => $node->getElementsByTagName('title')->item(0)->nodeValue,
     'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue,
     'link' => $node->getElementsByTagName('link')->item(0)->nodeValue);
  array_push($arrFeeds, $itemRSS);
}
echo "Links Page<br>";
for($i=0;$i<sizeof($arrFeeds);$i++){
    $feed = $arrFeeds[$i];
    $title = $feed["title"];
    $link = $feed["link"];
    $description = $feed["desc"];
    if($description==""){
      echo "<a href='$link'>$title</a><br>\n"
    }else{
      echo "<a href='$link'>$title</a>- $description<br>\n";
    }
}