• Resolved fwoan

    (@fwoan)


    Hi all, I’m working on some code and want to know how to display the “RSS Address” (rss uri) under the “Advanced” section of the “Edit Link” screen. Is there a tag I use to print whatever value is stored there? I have scoured the internet looking for this information but cannot find it. Please help!

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter fwoan

    (@fwoan)

    Barf:

    <?php
    $bookmarks = array();
    $bookmarks = get_bookmarks('category=10');
    foreach ($bookmarks as $bookmark) {
    	$rss = $bookmark->link_rss;
    	$title = $bookmark->link_description;
    ?>
    	<li><a title="<?php echo $bookmark->link_name.': '.$bookmark->link_description; ?>" href="<?php echo clean_url($bookmark->link_url); ?>"><?php echo $bookmark->link_name; ?></a> <?php if ($rss != "") echo '<span class="link_feed">(<a href="'.$rss.'" title="'.$bookmark->link_name.' RSS">feed</a>)</span>'; ?></li>
    <?php } ?>

Viewing 1 replies (of 1 total)
  • The topic ‘how to print RSS URI?’ is closed to new replies.