构建RSS提要的工具? [英] Tool to build RSS feed?
问题描述
你好
我不是RSS的专家,我想找一个工具来制作
它很容易创建每当创建新行时,网站的RSS提要
在MySQL数据库中。
是否有一些PHP工具可以使这很容易?
谢谢。
Hello
I''m not an expert on RSS, and I''d like to find a tool to make
it easy to create an RSS feed for a site whenever a new row is created
in a MySQL database.
Is there some PHP tool that would make this easy to do?
Thank you.
推荐答案
5月29日下午2:55,Gilles Ganault< nos ... @ nospam.comwrote:
On May 29, 2:55 pm, Gilles Ganault <nos...@nospam.comwrote:
你好
我不是RSS专家,我'想要找到一个工具来制作
每当创建一个新行时,很容易为网站创建一个RSS源。
在MySQL数据库中。
是否有一些PHP工具可以让这很容易?
谢谢。
Hello
I''m not an expert on RSS, and I''d like to find a tool to make
it easy to create an RSS feed for a site whenever a new row is created
in a MySQL database.
Is there some PHP tool that would make this easy to do?
Thank you.
Google it:o)
制作RSS提要很简单 - 那里有很多模板。 />
创建动态RSS源所需要做的就是写一个PHP文件
并调用数据库来获取所需的数据和输出
XML标题,然后按照模板。
或者如果你认为'蹩脚 - 你可以生成一个新的XML文件
每次
new被添加到数据库中。
Google it :o)
Making an RSS feed is easy - there are plenty of templates out there.
All you need to do to create a dynamic RSS feed is to write a PHP file
and make it call to the database to get the required data and output
XML headers and then follow the template.
Or if you think that''s lame - you can generate a new XML file
everytime something new is added to the database.
2007年5月29日15:16:23 -0700,SterLo< st ******** *******@gmail.com>
写道:
On 29 May 2007 15:16:23 -0700, SterLo <st***************@gmail.com>
wrote:
> Google it:o)
>Google it :o)
我显然做到了,偶然发现了两个......那是行不通的: - /
之一是feed.class,我是从
HTTP:// SV n.sourceforge.net/viewvc/de...ss?view=markup
//致命错误:调用未定义的函数get_branding()
I obviously did, and stumbled on two.. that didn''t work :-/ One of
them is feed.class, which I downloaded from
http://svn.sourceforge.net/viewvc/de...ss?view=markup
//Fatal error: Call to undefined function get_branding()
r。= sprintf(" \t\t< generator>%s< / generator> \ n",
htmlentities(get_branding(FALSE) )));
r.= sprintf("\t\t<generator>%s</generator>\n",
htmlentities(get_branding(FALSE)));
>制作RSS提要很简单 - 那里有很多模板。
你需要做的就是创建一个动态的RSS提要是编写一个PHP文件,并使其调用数据库以获取所需的数据并输出
XML标题,然后按照模板进行操作。
>Making an RSS feed is easy - there are plenty of templates out there.
All you need to do to create a dynamic RSS feed is to write a PHP file
and make it call to the database to get the required data and output
XML headers and then follow the template.
你会推荐一个模板吗?
BTW,我是否用新项目创建一个新文件而不是附加他们
到旧物品?
谢谢。
Is there a template you would recommend?
BTW, do I create a new file with new items instead of appending them
to older items?
Thank you.
这篇关于构建RSS提要的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!