Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: syndication.php

Source Location: /public_html/admin/syndication.php



Page Details:

Content syndication administration page: Here you can create, edit, and delete feeds in various formats for Geeklog and its plugins.



Includes:

require_once('../lib-common.php') [line 42]
Geeklog common function library

require_once('auth.inc.php') [line 47]
Security check to ensure user even belongs on this page







changeFeedStatus [line 84]

void changeFeedStatus( array $enabledfeeds, array $visiblefeeds)

Toggle status of a feed from enabled to disabled and back



Parameters

array   $enabledfeeds   array containing ids of enabled feeds
array   $visiblefeeds   array containing ids of visible feeds
[ Top ]



deletefeed [line 579]

string deletefeed( int $fid)

Delete a feed.



Tags:

return:  HTML redirect


Parameters

int   $fid   feed id
[ Top ]



deleteFeedFile [line 66]

void deleteFeedFile( string $filename)

Delete a feed's file



Parameters

string   $filename   filename (without the path) of the feed
[ Top ]



editfeed [line 227]

string editfeed( [int $fid = 0], [string $type = ''])

Display the feed editor.



Tags:

return:  HTML for the feed editor


Parameters

int   $fid   feed id (0 for new feeds)
string   $type   type of feed, e.g. 'article'
[ Top ]



find_feedFormats [line 133]

array find_feedFormats( )

Get a list of feed formats from the feed parser factory.



Tags:

return:  array of names of feed formats (and versions)


[ Top ]



listfeeds [line 154]

string listfeeds( )

List all feeds



Tags:

return:  HTML with the list of all feeds


[ Top ]



newfeed [line 408]

string newfeed( )

Create a new feed. This is an extra step to take once you have a plugin installed that supports the new Feed functions in the Plugin API. This will let you select for which plugin (or Geeklog) you're creating the feed.



Tags:

return:  HTML for the complete page (selection or feed editor)


[ Top ]



savefeed [line 448]

string savefeed( array $A)

Save feed.



Tags:

return:  HTML redirect on success or feed editor + error message


Parameters

array   $A  
[ Top ]



Documentation generated on Sun, 02 Oct 2016 07:56:08 +0000 by phpDocumentor 1.4.3