Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/publish/atom.php - 420 lines - 13537 bytes - Source - Print

Description: Handles Atom feeds.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

atom()
safe_hed()
fixup_for_feed()

Functions

Functions that are not part of a class:

atom()  line: 73
Generates and outputs an Atom feed.

This function can only be called once on a page. It outputs an Atom feed
based on the requested URL parameters. Accepts HTTP GET parameters 'limit',
'area', 'section' and 'category'.
safe_hed($toUnicode line: 368
Converts HTML entieties to UTF-8 characters.

This is included only for backwards compatibility with older plugins.

return: string
param: string $toUnicode
fixup_for_feed($toFeed, $permalink line: 393
Sanitises a string for use in a feed.

Tries to resolve relative URLs and encode unescaped characters.

This is included only for backwards compatibility with older plugins.

return: string
param: string $toFeed
param: string $permalink

title

Body