Modules
ADT Database GTK2 GUI IP PiJAX Public Sql Stdio Subversion System Tools Xosd lua v4l2 wx
Recent Changes
Public.Parser.XML2 1.50
Public.ZeroMQ 1.1
Public.Template.Mustache 1.0
Public.Protocols.XMPP 1.4
Sql.Provider.jdbc 1.0
Popular Downloads
Public.Parser.JSON2 1.0
Public.Parser.JSON 0.2
GTK2 2.23
Public.Web.FCGI 1.8
Public.Parser.XML2 1.48
|
Pike Module Reference: module version 1.3, prepared
MODULE Public.Web |
Modules RSS
|
|
MODULE Public.Web.RSS |
Classes Channel Item Thing
Methods parse()
|
Description
This is a parser for RSS files. Versions 0.92, 1.0 and 2.0 are
supported.
- Import
-
Method parse
object(.Channel) Public.Web.RSS.parse(string xml)
|
CLASS Public.Web.RSS.Channel |
Methods add_category() add_item() set_cloud()
|
-
Inherit Thing
Thing
-
Imports
-
Variable items
array(object(Item)) Public.Web.RSS.Channel()->items
-
Method add_item
void Public.Web.RSS.Channel()->add_item(object(Item) i)
-
Method add_category
void Public.Web.RSS.Channel()->add_category(string category, string description)
-
Method set_cloud
void Public.Web.RSS.Channel()->set_cloud(string domain, string port, string path, string reg)
|
CLASS Public.Web.RSS.Item |
Methods add_category() set_author() set_comments() set_enclosure() set_guid() set_pubDate() set_source()
|
- Import
- Import
-
Inherit Thing
Thing
-
Method set_enclosure
void Public.Web.RSS.Item()->set_enclosure(string url, string length, string type)
-
Method add_category
void Public.Web.RSS.Item()->add_category(string name, string domain)
- Description
we can have more than one category.
-
Method set_source
void Public.Web.RSS.Item()->set_source(string name, string url)
-
Method set_guid
void Public.Web.RSS.Item()->set_guid(string name, int(0..1) permalink)
-
Method set_author
void Public.Web.RSS.Item()->set_author(string author)
-
Method set_comments
void Public.Web.RSS.Item()->set_comments(string comments)
-
Method set_pubDate
void Public.Web.RSS.Item()->set_pubDate(string pubDate)
|
CLASS Public.Web.RSS.Thing |
|
- Import
-
Variable data
mapping Public.Web.RSS.Thing()->data
|
|