Admidio API
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Packages

  • com
    • tecnick
      • tcpdf
  • None
  • PHPMailer
    • easypeasyics
  • PHPWavUtils
  • Securimage
    • classes

Classes

  • AutoLogin
  • Component
  • ComponentUpdate
  • ConditionParser
  • Database
  • DateTimeExtended
  • Email
  • Folder
  • FormValidation
  • FunctionClass
  • Htaccess
  • HtmlDiv
  • HtmlElement
  • HtmlForm
  • HtmlFormBasic
  • HtmlFormInstallation
  • HtmlList
  • HtmlNavbar
  • HtmlPage
  • HtmlTable
  • HtmlTableBasic
  • Image
  • Inventory
  • InventoryFields
  • Language
  • LanguageData
  • ListConfiguration
  • Menu
  • Message
  • ModuleAnnouncements
  • ModuleDates
  • ModuleLists
  • ModuleMenu
  • ModuleMessages
  • Modules
  • ModuleWeblinks
  • MyFiles
  • Navigation
  • ntlm_sasl_client_class
  • Organization
  • Participants
  • PasswordHash
  • PasswordHashing
  • ProfileFields
  • RoleDependency
  • RolesRights
  • RSSfeed
  • Session
  • SystemMail
  • TableAccess
  • TableAnnouncement
  • TableCategory
  • TableDate
  • TableFile
  • TableFolder
  • TableGuestbook
  • TableGuestbookComment
  • TableInventory
  • TableInventoryField
  • TableLists
  • TableMembers
  • TableMessage
  • TablePhotos
  • TableRoles
  • TableRooms
  • TableText
  • TableUserField
  • TableUsers
  • TableWeblink
  • UploadHandlerDownload
  • UploadHandlerPhoto
  • User
  • UserRegistration

Exceptions

  • AdmException
  • WavFileException
  • WavFormatException

Functions

  • admFuncAutoload
  • admFuncGeneratePagination
  • admFuncGetBytesFromSize
  • admFuncGetDirectoryEntries
  • admFuncMaxUploadSize
  • admFuncProcessableImageSize
  • admFuncShowCreateChangeInfoById
  • admFuncShowCreateChangeInfoByName
  • admFuncVariableIsValid
  • admReadTemplateFile
  • admStrIsValidFileName
  • admStrStripTagsSpecial
  • admStrToLower
  • admStrToUpper
  • bzip2Version
  • checkDatabaseVersion
  • checkPhpVersion
  • EmailAttachment
  • FileSizeNiceDisplay
  • FormattedTimeRemaining
  • FunctionIsDisabled
  • getFormerRolesFromDatabase
  • getFutureRolesFromDatabase
  • getmicrotime
  • getRoleMemberships
  • getRolesFromDatabase
  • gzipVersion
  • hasRole
  • hl_attrval
  • hl_bal
  • hl_cmtcd
  • hl_ent
  • hl_prot
  • hl_regex
  • hl_spec
  • hl_tag
  • hl_tag2
  • hl_tidy
  • hl_version
  • htmLawed
  • HTMLFilter
  • isGroupLeader
  • isMember
  • kses
  • kses_hook
  • MySQLdumpVersion
  • OutputInformation
  • SafeExec
  • showNotice
  • strAddSlashesDeep
  • strNextLetter
  • strStripSlashesDeep
  • strStripTags
  • strValidCharacters
  • tln_body2div
  • tln_casenormalize
  • tln_deent
  • tln_defang
  • tln_findnxreg
  • tln_findnxstr
  • tln_fixatts
  • tln_fixstyle
  • tln_fixurl
  • tln_getnxtag
  • tln_sanitize
  • tln_skipspace
  • tln_tagprint
  • tln_unspace
  • version_compare_replacement
  • version_compare_replacement_sub

Class RSSfeed

Copyright: 2004-2016 The Admidio Team
License: GNU General Public License v2.0 only **********************************************************************************************
Class:

RSSfeed Diese Klasse erzeugt ein RSSfeed-Objekt nach RSS 2.0.

Das Objekt wird erzeugt durch Aufruf des Konstruktors: function RSSfeed($homepage, $title, $description) Parameters: $homepage - Link zur Homepage $title - Titel des RSS-Feeds $description - Ergaenzende Beschreibung zum Titel

Dem RSSfeed koennen ueber die Funktion addItem Inhalt zugeordnet werden: function addItem($title, $description, $date, $guid) Parameters: $title - Titel des Items $description - der Inhalt des Items $date - Das Erstellungsdatum des Items $link - Ein Link zum Termin/Newsbeitrag etc.

Wenn alle benoetigten Items zugeordnet sind, wird der RSSfeed generiert mit: function buildFeed()

Spezifikation von RSS 2.0: http://www.feedvalidator.org/docs/rss2.html


Located at rssfeed.php

Methods summary

public
# __construct( string $title, string $link, string $description, string $copyright )

Constructor of the RSS class which needs all the information of the channel

Constructor of the RSS class which needs all the information of the channel

Parameters

$title
Headline of this channel
$link
Link to the website of this RSS feed
$description
Short description of this channel
$copyright
Author of the channel; in our case the organization name
public
# addItem( string $title, string $description, string $link, string $author, string $date )

Add rss item to the current feed with all necessary information about the item

Add rss item to the current feed with all necessary information about the item

Parameters

$title
Headline of this item
$description
The main content of the item which can contain html
$link
Link to this entry on the homepage
$author
The name of the member who creates this entry
$date
Publication date of this entry
public
# getRssFeed( )
private string
# getRssHeader( )

Returns

string
Returns the RSS header
private string
# getChannelOpener( )

Returns

string
Returns the open channel
private string
# getChannelInfo( )

Returns

string
Returns channel infos
private string
# getItems( )

Returns

string
Returns the items
private string
# getChannelCloser( )

Returns

string
Returns the channel close
private string
# getRssFooter( )

Returns

string
Returns the RSS footer

Properties summary

protected $channel
#
protected $items
#
protected $feed
#
Admidio API API documentation generated by ApiGen