Parteibuch Aggregator: Configuration of output format #

'; $result = $bdprss_db->get_pbaoutput($pboutput); if(!$result) { echo "

Unexpected error: could not find output format #$pboutput

\n"; } else { if($pbastartconfig > 0){ echo ''; echo ''; } // setup stuff $pbaoname = bdpDisplayCode($result->{$bdprss_db->pbaoname}); $pbaopage2hookin = abs(intval($result->{$bdprss_db->pbaopage2hookin})); //items to be displayed $pbaodefaultlist = $result->{$bdprss_db->pbaodefaultlist}; $pbaoformattype = $result->{$bdprss_db->pbaoformattype}; $pbaomaxitems = $result->{$bdprss_db->pbaomaxitems}; //item formatting $pbaotemplate_ticker = bdpDisplayCode($result->{$bdprss_db->pbaotemplate_ticker}); $pbaoappend_extra_link = $result->{$bdprss_db->pbaoappend_extra_link}; $pbaoappend_cache_link = $result->{$bdprss_db->pbaoappend_cache_link}; $pbaoadd_social_bookmarks = $result->{$bdprss_db->pbaoadd_social_bookmarks}; $pbaosidebarwidget = bdpDisplayCode($result->{$bdprss_db->pbaosidebarwidget}); $pbaomaxlength = $result->{$bdprss_db->pbaomaxlength}; $pbaomaxwordlength = $result->{$bdprss_db->pbaomaxwordlength}; $pbaoitem_date_format = bdpDisplayCode($result->{$bdprss_db->pbaoitem_date_format}); $pbaoallowablexhtmltags = preg_split("','", $result->{$bdprss_db->pbaoallowablexhtmltags}, -1, PREG_SPLIT_NO_EMPTY); //cachepage options $pbaoiscachable = bdpDisplayCode($result->{$bdprss_db->pbaoiscachable}); $pbaocacheviewpage = bdpDisplayCode($result->{$bdprss_db->pbaocacheviewpage}); $pba_otemplate_cache = bdpDisplayCode($result->{$bdprss_db->otemplate_cache}); //feed options $pba_channel_title = bdpDisplayCode($result->{$bdprss_db->pba_channel_title}); $pba_channel_link = bdpDisplayCode($result->{$bdprss_db->pba_channel_link}); $pba_channel_description = bdpDisplayCode($result->{$bdprss_db->pba_channel_description}); $pba_channel_language = bdpDisplayCode($result->{$bdprss_db->pba_channel_language}); $pba_channel_copyright = bdpDisplayCode($result->{$bdprss_db->pba_channel_copyright}); //kalender options $pba_otemplate_kalender = bdpDisplayCode($result->{$bdprss_db->otemplate_kalender}); $pba_oarchive_date_format = bdpDisplayCode($result->{$bdprss_db->oarchive_date_format}); $pba_okalendermonthslist = bdpDisplayCode($result->{$bdprss_db->okalendermonthslist}); $pba_okalenderboxtablecaption = bdpDisplayCode($result->{$bdprss_db->okalenderboxtablecaption}); $pba_okalender_last = bdpDisplayCode($result->{$bdprss_db->okalender_last}); $pba_okalender_next = bdpDisplayCode($result->{$bdprss_db->okalender_next}); $pba_okalenderboxdaysofweeklist = bdpDisplayCode($result->{$bdprss_db->okalenderboxdaysofweeklist}); $pbao_superparameter = bdpDisplayCode($result->{$bdprss_db->pbao_superparameter}); $pba_wp_pages=$bdprss_db->get_wp_published_pages(); ?> '; ?>

Basic configuration

(You may change all values again as often as you like via the tools section of your blog's admin panel)
 
1. Give this output stream a name:
 
 

(Just type in any name you like)

2. Select a page where to display this output:
 
 
'; echo '
No choice fitting? Just publish a new page and then refresh.

'; if($pba_pagecount == 0) echo '

Attentation please: No page found. The Parteibuch Aggregator could not find any published page in your blog to hook into and show output. Maybe you want to create and publish a page on your blog?

After creating a page, you can come back here, refresh this page and select the newly created page to hook this output stream into.

'; ?>
Debug: '.$mypbaformdebug . '
3. And hit the save button to complete:
 
 
          

$value) { $tag = BDPRSS2::tagalise($key); echo '\n"; } ?>

Additional parameters for this output configuration

Select which items shall be displayed in this output stream

Select a list filter: > No list filter - display items of all lists
get_all_lists(); foreach($result as $r) { $checked=""; if($r->identifier == $pbaodefaultlist) $checked=' checked="checked"'; echo ' '.$r->identifier.': '.$r->name.'
'; } ?>
Maximum items per page: (Zero (0) means as many as possible)
Output special sort order and time filter: > Standard - list by most recent items
> Special - list items of last 24 hours and sort by most recent item time
> Special - list just one item per site of last 31 days and sort alphabetically
> Special - list just one item per site of last 31 days and sort by most recent item time

Format the output page

Template for this output page:
see here some placeholder

Append links to the items: Link to item: >    To cache: >    Social bookmarks: >

Format the items

Maximum words for each item:
(zero = no maximum word limit)
Maximum length of words in each item:
(zero = no maximum word limit)
Item date format: (leave empty to show item age)
XHTML tags to retain in list output:  
'; echo $key; $checked = array_search($key, $pbaoallowablexhtmltags); if($checked !== FALSE) $checked = "checked='checked' "; else $checked=''; echo " ["; foreach($value as $v) echo " $v"; echo " ]

Format the widget

widget. If you prefer to add the sidebar code manually to your sidebar, you may do it like this (the \"outputid\" defines which output you show):
\$pba_config['outputid']=".$pboutput.";
\$pba_config['show_sidebarwidget'] = 'Y';
\$pba_return=@PBA::outputwrapper(\$pba_config);
echo \$pba_return['result'];"; ?>

Cache item presentation

Allow people to view the cache for the items: >
Template of cache page:
Special page for cache viewing:
(If you have a special page for cache viewing, put the URL in here)

Feed Output Options

Feed Title in Output:
Feed Channel WWW - Link:
(if empty, post->guid from wordpress will be used)
Feed Channel Description:
Feed Channel Language Code:
Feed Channel License:

Calendar features

The following values affect all calendar related features

Template of calendar page:
Format of calendar dates:
(Uses PHP date format)
Months in calendar:

Additional values just for the calendar box

Caption id for calendar box table:
Caption: Earlier:
Caption: Later
List of weeks:

Free flow parameter overwriting

The following box allows to overwrite any default parameter

Free parameter input:
Syntax:
###SUPERPARAMETER_Defaultparameter1_BEGIN### New value for defaultparameter1 ###SUPERPARAMETER_END### ###SUPERPARAMETER_Defaultparameter2_BEGIN### New value for defaultparameter2 ###SUPERPARAMETER_END### etc, any newline breaks will be recognized as part of the parameter value, single true / false will be converted to bool true and false
Hit the save button to save this configuration: