[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/system/ -> lib-syndication.php (sommaire)

(pas de description)

Poids: 634 lignes (22 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 9 fonctions

  SYND_feedUpdateCheckAll()
  SYND_feedUpdateCheckTopic()
  SYND_feedUpdateCheck()
  SYND_getFeedContentPerTopic()
  SYND_getFeedContentAll()
  SYND_updateFeed()
  SYND_truncateSummary()
  SYND_getFeedPath()
  SYND_getFeedUrl()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

SYND_feedUpdateCheckAll( $update_info, $limit, $updated_topic = '', $updated_id = '' )   X-Ref
Check if a feed for all stories needs to be updated.

param: string  $update_info    list of story ids
param: string  $limit          number of entries or number of hours
param: string  $updated_topic  (optional) topic to be updated
param: string  $updated_id     (optional) entry id to be updated
return: bool                    false = feed needs to be updated

SYND_feedUpdateCheckTopic( $tid, $update_info, $limit, $updated_topic = '', $updated_id = '' )   X-Ref
Check if a feed for stories from a topic needs to be updated.

param: string  $tid            topic id
param: string  $update_info    list of story ids
param: string  $limit          number of entries or number of hours
param: string  $updated_topic  (optional) topic to be updated
param: string  $updated_id     (optional) entry id to be updated
return: bool                    false = feed needs to be updated

SYND_feedUpdateCheck( $topic, $update_data, $limit, $updated_topic = '', $updated_id = '' )   X-Ref
Check if the contents of Geeklog's built-in feeds need to be updated.

param: string  topic           indicator of the feed's "topic"
param: string  limit           number of entries or number of hours
param: string  updated_topic   (optional) specific topic to update
param: string  updated_id      (optional) specific id to update
return: bool                    false = feed has to be updated, true = ok

SYND_getFeedContentPerTopic( $tid, $limit, &$link, &$update, $contentLength, $feedType, $feedVersion, $fid )   X-Ref
Get content for a feed that holds stories from one topic.

param: string   $tid      topic id
param: string   $limit    number of entries or number of stories
param: string   $link     link to topic
param: string   $update   list of story ids
return: array              content of the feed

SYND_getFeedContentAll( $limit, &$link, &$update, $contentLength, $feedType, $feedVersion, $fid)   X-Ref
Get content for a feed that holds all stories.

param: string   $limit    number of entries or number of stories
param: string   $link     link to homepage
param: string   $update   list of story ids
param: int      $contentLength Length of summary to allow.
param: int      $fid       the id of the feed being fetched
return: array              content of the feed

SYND_updateFeed( $fid )   X-Ref
Update a feed.
Re-written by Michael Jervis (mike AT fuckingbrit DOT com)
to use the new architecture

param: int   $fid   feed id

SYND_truncateSummary( $text, $length )   X-Ref
Truncate a feed item's text to a given max. length of characters

param: string  $text       the item's text
param: int     $length     max. length
return: string              truncated text

SYND_getFeedPath( $feedfile = '' )   X-Ref
Get the path of the feed directory or a specific feed file

param: string  $feedfile   (option) feed file name
return: string              path of feed directory or file

SYND_getFeedUrl( $feedfile = '' )   X-Ref
Get the URL of the feed directory or a specific feed file

param: string  $feedfile   (option) feed file name
return: string              URL of feed directory or file



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics