Jump to content
php.lv forumi

Graphic RSS Feed


4e4en

Recommended Posts

Kādā veidā var izveidot tādu feedus, kā piemeram http://feeds.feedburner.com/laacz

 

es negribu izmantot kadu citu jau piedavatos servisus ka piemeram feedburner, bet gribu, to jau implementēt iekš rss.php :)

 

varbūt ir kāds lasāms matereāls par šo tēmu?

Link to comment
Share on other sites

Kādus grafiskos? Man tas links ver vaļā manu RSS rīderi.

Vai arī tu domāji šo? http://feeds.feedburner.com/~d/styles/atomfull.xsl

Webā taču visas sources ir piejams un brīvi redzamas. Vajag tik mācēt View->Page source uzspiest savam browserim.

Tas saucās XML Style Sheet: <?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/atomfull.xsl" type="text/xsl" media="screen"?>

Tam pieliekot klāt CSS: <?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?> var saformēt lapu kā vien tik tīk.

Link to comment
Share on other sites

Nezinu kā tev, bet man Firefox'is skaidri un gaiši pasaka "XML Parsing Error: undefined entity", Line Number 26, Column 205 uz   entītes, ja to tavu koda fragmentu ieseivoju kā xlst failu un atveru tajā.

 

P.S. Ir tāds paste.php.lv. Un ir labāk tur likt lielus koda fragmentus, nevis foruma postos.

Link to comment
Share on other sites

×
×
  • Create New...