Ignore:
Timestamp:
Jul 21, 2009, 12:32:37 AM (15 years ago)
Author:
tiico
Message:

Personnalize the icon in the cooliris feed (on the wall)
Unstall the plugin will suppress the configuration on the database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/generate_rss.php

    r3647 r3649  
    379379                echo "\n";
    380380
     381       
     382       
    381383                //      <!--    <title>test Page</title> -->
    382384                echo '<link>'.$obj->root_site_piclens.'</link>';
     
    399401                // Icone de la gallerie dans le flux RSS
    400402                echo "\n";
    401                 echo '<atom:icon>'.$obj->root_site_piclens.'template-common/favicon.ico</atom:icon>';
    402                 echo "\n";
     403                echo '<atom:icon>'
     404                .(strlen($obj->my_config['piclens_rss_icon'])
     405                                    ? $obj->my_config['piclens_rss_icon']
     406                                    : $obj->root_site_piclens.'template-common/favicon.ico')
     407                .'</atom:icon>';
     408                echo "\n";
     409
    403410
    404411                // Pour chacune des images, preparation du flux xml
     
    510517                  ."]]></title>\n";
    511518
     519            // not media:description for normal piclens to show description
     520            echo '<description><![CDATA['
     521                .parse($obj->my_config['piclens_rss_desc'], $row, $plugins_ExtendedDesc, $obj->my_config['piclens_maxcomment_nb'])
     522                .']]> </description>';
    512523
    513524            echo '<media:description type="html"><![CDATA['
    514525                .parse($obj->my_config['piclens_rss_desc'], $row, $plugins_ExtendedDesc, $obj->my_config['piclens_maxcomment_nb'])
    515526                .']]> </media:description>';
    516                  
     527
     528               
    517529/*                     
    518530                        //  Extended description for the comment and category name
Note: See TracChangeset for help on using the changeset viewer.