Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

Programmershelp.co.uk RSS feeds

 

We have a collection of RSS feeds for your site . The last 5 snippets will be displayed

ASP.net
Assembly
Blitzbasic
C
C Sharp
C++
CSS
Darkbasic
GameBoy
HTML
Java
Javascript
JSP
Pascal
PHP
VB
VB.net
VBScript
Visual Basic


 

 

You can use code like the following to display a feed

<?php
$code = $HTTP_GET_VARS['e'];
//if($code == "");
// $code = php;
$xmlfile = fopen("http://www.programmershelp.co.uk/rss2.php?e=$code", "r");
if(!$xmlfile)die("cannot open the xml file");
$readfile = fread($xmlfile ,40000);
$searchfile = eregi("<item>(.*)</item>", $readfile ,$arrayreg);
$filechunks = explode("<item>", $arrayreg[0]);
$count = count($filechunks);
echo "<table border='1'>";
for($i=1 ; $i<=$count-1 ;$i++)
{
ereg("<title>(.*)</title>",$filechunks[$i], $title);
ereg("<link>(.*)</link>",$filechunks[$i], $links);
ereg("<description>(.*)</description",$filechunks[$i],$desc);
echo "<tr><td>";
echo "<a target='_new' href ='$links[1]'\>$title[1]</a><br>";
echo $desc[1];
echo "</td></tr>";
}
echo "</table>";
?>

If you call the above example testrss.php then testrss.php?e=vb will display the Visual Basic category or you can harcode the links above individually.


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Frames support(ASP.net)
Download an RSS feed(Powershell)
hexadecimal to decimal conversion(PHP)
Windows directory(VB)
clear recent documents list(Visual Basic)
Wired news(PHP)
display all programs installed in program Files(VBScript)
Active window title(VB)




Copyright © 2004 by programmershelp.co.uk