Class phpGrabComicsXML

Description

Used for writing the XML files

Located in /inc/phpgrabcomicsxml.php (line 36)


	
			
Variable Summary
mixed $channel
mixed $image
mixed $xml
Method Summary
Variables
mixed $channel = array(
"title" => "phpGrabComics strips",
"link" => "",
"description" => "phpGrabComics is a web-based service proving a simple interface to several strips available in the web, as the comics Dilbert, Snoopy, Calvin and Hobbes.",
"language" => "en-gb",
"generator" => "phpGrabComics",
"webMaster" => "andres@baravalle.it",
"ttl" => "360",
"lastBuildDate" => 0
)
(line 42)
mixed $image = array(
"title" => "phpGrabComics Powered!",
"url" => "",
"link" => "",
"width" => "32",
"height" => "48",
"description" => "phpGrabComics Powered!"
)
(line 52)
mixed $xml = array(
"doctype" => "rss"
)
(line 38)
Methods
Constructor phpGrabComicsXML (line 65)

Sets default variables if required.

phpGrabComicsXML phpGrabComicsXML ()
pBasicChannelTags (line 135)

Prints the channel tags that are common to all the XML dialects used for syndication.

void pBasicChannelTags ()
pDeclaration (line 104)

Prints the XML declaration and includes the required entities.

void pDeclaration ()
pImageTag (line 313)

Prints the image tag.

void pImageTag ()
pItemTags (line 148)

Prints the items tags for the RSS, not linking to the comics in the local site.

void pItemTags ()
pItemTagsLocalSite (line 223)

Prints the items tags for the RSS, linking to the comics in the local site.

void pItemTagsLocalSite ()
pLastBuildDate (line 300)

Prints the last build date. The value of lastBuildDate is determined while running other functions. It should be the last build date among all the items included in the channel.

void pLastBuildDate ()
pRSSDeclaration (line 123)
void pRSSDeclaration ()
pRSSExternalDTD (line 112)
void pRSSExternalDTD ()
pRSSExternalEntities (line 118)
void pRSSExternalEntities ()
rResults (line 331)

Database connection, for gathering the last comics.

  • return: resource or false
mysql rResults ()

Documentation generated on Wed, 01 Nov 2006 18:54:14 +0000 by phpDocumentor 1.3.0RC3