📄 mrss.php
字号:
<?php
include_once("includes/func/rss.inc.php");
$myFeed = new RSSFeed();
$myFeed->addChannel("XML.com",
"XML.com features a rich mix of information and services for the XML community.",
"en",
"http://www.xml.com/xml/news.rss");
$myFeed->addChannelImage("http://xml.com/universal/images/xml_tiny.gif","xml.com","http://www.xml.com");
$myFeed->addChannelLink("http://www.myurl.com");
$myFeed->addFeedItem( "Processing Inclusions with XSLT",
"http://xml.com/pub/2000/08/09/xslt/xslt.html",
"Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing.");
$myFeed->addFeedItem( "Putting RDF to Work",
"http://xml.com/pub/2000/08/09/rdfdb/index.html",
"Tool and API support for the Resource Description Framework is slowly coming of age. Edd Dumbill takes a look at RDFDB, one of the most exciting new RDF toolkits.");
$myFeed->releaseFeed();
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -