RPM install for redhat enterprise linux 3

PHP

18:17:50, by admin Email , 36 words, 3891 views   Japanese (JP) del.icio.us

I't notice for rpm install on redhat enterprise linux 3.


install
rpm -ivh ~~.rpm


upgrade
rpm -Uvh ~~.rpm


list
rpm -qa


SRPM install
rpmbuild --rebuild ~~.src.rpm
rpm -ivh ~~.rpm


delete
rpm -e ~~.rpm



=> Read more!


rdf2gsm:RDF to Google Sitemap xslt

xslt, xml

17:13:21, by dozo Email , 137 words, 3225 views   Japanese (JP) del.icio.us
I think it is convenience if you use google sitemap for your blog site.
Because Google Sitemap use very severe parser for rss (RDF, RSS2.0, atom).
If we have a problem rss on your blogs then It output parser error.
Google Sitemap Protocol is very simple. It is comprise url and date.
I think there is no errors on your google sitemap.

rss1.0
rdf2gsm.xslt

rss2.0
rdf2gsm.xslt


For example:
PHP4
(require xslt module)
$xsl_filename = "rdf2gsm.xslt";
$xml_filename = "rdffile.xml";

$xmldoc = domxml_open_file( $xml_filename );
$xsldoc = domxml_xslt_stylesheet_file ( $xsl_filename );
$result = $xsldoc->process($xmldoc);
print $result->dump_mem();

PHP5

$xsl_filename = "rdf2gsm.xslt";
$xml_filename = "rdffile.xml";

$doc = new DOMDocument();
$xsl = new XSLTProcessor();

$doc->load($xsl_filename);
$xsl->importStyleSheet($doc);

$doc->load($xml_filename);
echo $xsl->transformToXML($doc);

powered by b2evolution

shinobi

Neighbors
Relative
Favorites
PR

Archives
スポンサー

Latest bookmark
Search

Categories

Who's Online?
Misc
Syndicate this blog XML

Valid XHTML 1.0! Valid CSS! Valid RSS 2.0! Valid Atom 1.0!