Example #1
0
</language>
    <sy:updatePeriod><?php 
echo apply_filters('rss_update_period', 'hourly');
?>
</sy:updatePeriod>
    <sy:updateFrequency><?php 
echo apply_filters('rss_update_frequency', '1');
?>
</sy:updateFrequency>
    <?php 
do_action('rss2_head');
if (isset($aProducts['Error']['Message'], $aProducts['Error']['Code'])) {
    $aProducts = array();
}
foreach ($aProducts as $_aProduct) {
    $sLabels = empty($aArguments['_labels']) ? AmazonAutoLinks_PluginUtility::getReadableLabelsByUnitID($aArguments['id']) : AmazonAutoLinks_PluginUtility::getReadableLabelsByLabelID($aArguments['_labels']);
    $_sGUID = $aArguments['unit_type'] . '_' . $_aProduct['ASIN'] . '_' . $aArguments['country'];
    ?>
    
    <item>
        <title><![CDATA[<?php 
    echo $_aProduct['title'];
    ?>
]]></title>
        <link><?php 
    echo $_aProduct['product_url'];
    ?>
</link>
        <comments></comments>
        <pubDate><?php 
    // echo date( 'D, d M Y H:i:s +0000', $_aProduct[ 'created_at' ] );