New Extension: tagthis-1.08.zip
[vanilla-miry.git] / extensions / FeedPublisher / config.php
blobe6c868215e541fddaea0380db915f0b5c61a606f
1 <?php
3 /**
4 * Array of published types
6 * Basically RSS2 & ATOM, but this allows you to keep only the one you want.
7 */
8 $fp_conf[ 'PublishedTypes' ] = array( 'RSS2', 'ATOM' );
10 /**
11 * Whether to stop Vanilla processing or not when displaying a feed.
13 * True will save some resources, while
14 * False will allow you to use SimpleCache.
16 $fp_conf[ 'ExitAfterFeed' ] = false;
18 /**
19 * Array of stylesheet attributes
21 * Add attributes with values if you want to format your feed a bit with css or
22 * xsl, leave empty arrays if you don't need formatting.
24 * 'StyleSheet_' is the prefix, provide arrays for the relevant feed types you
25 * want (RSS2 or ATOM). See commented code below for some examples.
27 * IMPORTANT: You'll have to provide the files you link to!!!
29 * NOTE: You can use several calls to $fp_conf[ 'StyleSheet_<type>' ][] for
30 * use of several style sheets.
32 $fp_conf[ 'StyleSheet_RSS2' ][] = array();
33 $fp_conf[ 'StyleSheet_ATOM' ][] = array();
34 /* some examples
36 // to add < ?xml-stylesheet href="/rss.css" type="text/css"? >, use
37 $fp_conf[ 'StyleSheet_RSS2' ][] = array(
38 'href' => '/rss.css',
39 'type' => 'text/css' );
41 // to add
42 // < ?xml-stylesheet type="text/xsl" href="style.xsl" media="screen"? >
43 // < ?xml-stylesheet href="http://www.site.com/atom.css" type="text/css"? >, use
44 $fp_conf[ 'StyleSheet_ATOM' ][] = array(
45 'type' => 'text/xsl',
46 'href' => 'style.xsl',
47 'media'=> 'screen' );
48 $fp_conf[ 'StyleSheet_ATOM' ][] = array(
49 'href' => 'http://www.site.com/atom.css',
50 'type' => 'text/css' );