| | i found out that RSS 1.0 came with the script i got (WordPress) but when i click on it, it says version 0.92 is that the same as 1.0 or is there something wrong with it? |
|
I think something went wrong, because RSS 0.93 is very different from RSS 1.0 (in fact, RSS 0.92 is a early version of rss 2.0)
QUOTE(Raptrex @ Feb 8 2005, 11:14 PM) hmm do you think you can write it for me? A static file ?Or a dynamic ? And in which language ?
umm check out the rss page for help on my site
but its in php and lol dont know what a dynamic and static file is
A dynamic page is a page which is generated by the server each time a user ask for it. (For example, PHP pages are dynamic)
A static file is the contrary (for instance, HTML documents)
Boy, I'm falling in love with your layout design. Magnificant would be the word. And to make it perfect, I think your font fits in quite good. And a text-logo gives it a whole silent but appealing effect. Pretty nice work on the design I have to say.
I'd rate it 9 out of 10 This is my own code, you should adapt it easyly CODE header('Content-Type: application/xml; charset=iso-8859-15'); $root=preg_replace("/(^.*\/).*$/","$1",(preg_match("/^\//",$_SERVER['REQUEST_URI'])?('http://'.$_SERVER['HTTP_HOST']):'').$_SERVER['REQUEST_URI']); echo '<'.'?xml version="1.0" encoding="ISO-8859-15" ?'.'>'; $i=0; $link = mysql_connect(SERV, LOGIN, MDP); if($link) { mysql_select_db(DB); $result = mysql_query ('SQL QUERY'); if($result) { $item='';$ch=array(); //generate the list of items while($row=mysql_fetch_array($result)) { $linkurl=$root.'agenda.php?a='.$row['id'].'#a'.$row['id']; // the item's link $item.='<item xlink:type="simple" xlink:show="replace" xlink:href="'.$linkurl.'" rdf:about="'./*the Item's URI */.'">'; $item.='<title>'.cl($row['titre']).'</title>'; $item.='<link>'.$linkurl.'</link>'; $item.='<dc:date>'.date("Y-m-d",$row['date']).'</dc:date>'; $item.='<description>'.cl($row['text']).'</description>'; $item.='<dc:creator>'.cl($row['posteur']).'</dc:creator>'; array_push($ch,$the_Item_URI); $item.="</item>\n"; } ?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ical="http://www.w3.org/2002/12/cal/ical#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://purl.org/rss/1.0/" xml:lang="fr" xml:base="<?php echo $root; ?>"> <channel rdf:about="<?php echo $root.'agenda.php'; ?>"> <title><!-- Your title --></title> <link><!-- your link --></link> <description><!-- your description --></description> <dc:language>en</dc:language> <items> <rdf:Seq> <?php for($i=0;$i<count($ch);$i++) { echo '<rdf:li rdf:resource="'.$ch[$i].'" />'; } ?> </rdf:Seq> </items> </channel> <?php echo $item; ?> </rdf:RDF> <?php } } ?>
Similar Topics
Keywords : tech, blog
(7) Hello my name is Shaun and I just started making my first blog. I would like to get some input about (0) I have been working hard on it and getting it right and finding the right template. I decided what (0) This guy Vic is a blackhat turned, well... not whitehat, but maybe some shade of grey? Anyhow check Know your blog addiction percentage here. (0) Want to know your blog addiction percentage ?? i recently stumbled upon justsayhi. Justsayhi is (3) Hi friends I need aFeedback on my recently started blog. Please visit and provide me feedback on how The "Google" for blogs! (1) If you feel overwhelmed by the world of blogs, or if you just want to find out what people are AMO's BLOG (5) Hi, I created a month using remote scripting a month ago for a University construction excercise. I Looking for tech, blog
|
|
![]() My Tech Blog |