Jump to content
xisto Community
Raptrex

My Tech Blog

Recommended Posts

isnt rss 2.0 good enough

No : RSS 2.0 is called in the RSS world "the RSS tag soup".

It isn't in RDF (so can't be used by semantic web agents), it doesn't support namespaces (so can't be extended), it has different specs with contradictions between them (and nothing to choose what to use)..

It's really the worst choice.

Share this post


Link to post
Share on other sites

i would say that the content is coming up soon and i'll visit ur blog on regular basis .. :Dbasically, the layout is clean and nice. but i think it would be more attractive if u add some pictures :D just my 2 cent

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Since it's dynamic, I can't gess how you want to build it (are posts in a database, in which tables...)

 

This is my own code, you should adapt it easyly

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://forums.xisto.com/no_longer_exists/;  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ical="http://forums.xisto.com/no_longer_exists/; xmlns:foaf="http://xmlns.com/foaf/0.1/"     xmlns:xlink="http://forums.xisto.com/no_longer_exists/; 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><?phpfor($i=0;$i<count($ch);$i++)	{echo '<rdf:li rdf:resource="'.$ch[$i].'" />';	}?></rdf:Seq></items></channel><?phpecho $item;?></rdf:RDF><?php	}}?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.