Results 1 to 3 of 3

RSS Feeds listed in Sitemap

This is a discussion on RSS Feeds listed in Sitemap within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; This is another quick and dirty one I made. It does not take actual permission into account for the forums, ...

  1. #1
    Junior Member
    Real Name
    Matt
    Join Date
    May 2009
    Posts
    19
    Liked
    0 times

    RSS Feeds listed in Sitemap

    This is another quick and dirty one I made. It does not take actual permission into account for the forums, but it will only add links where the forum is visible to everyone.

    This will work for feeds for:
    forums
    vba links directory
    video directory remixed
    vb albums

    PHP Code:
    <?php
        $vba_feed_url 
    $vbseo_vars['bburl'];

    //pull only forum feeds that are visible to all
        
    $lnkg $db->query_read("SELECT * FROM " TABLE_PREFIX "forum WHERE showprivate = 0");
        while (
    $lnk $db->fetch_array($lnkg))
        {
            
    $url 'external.php?forumids='.$lnk['forumid'];
            if(
    VBSEO_ON)
            
    $url vbseo_any_url($url);

              
    vbseo_add_url($url1.0$lnk['lastupdated'], 'daily');
        }
        
    //pull vba links directory feeds that are active
        
    $lnkg $db->query_read("SELECT * FROM " TABLE_PREFIX "adv_links_categories WHERE active = 1");
        while (
    $lnk $db->fetch_array($lnkg))
        {
            
    $url 'external.php?catids='.$lnk['catid'];
            if(
    VBSEO_ON)
            
    $url vbseo_any_url($url);

              
    vbseo_add_url($url1.0$lnk['lastupdated'], 'daily');
        }
        
    //pull video directory links directory feeds that are active
        
    $lnkg $db->query_read("SELECT * FROM " TABLE_PREFIX "videocategory WHERE active = 1");
        while (
    $lnk $db->fetch_array($lnkg))
        {
            
    $url 'video.php?do=rss&categoryid='.$lnk['videocategoryid'];
            if(
    VBSEO_ON)
            
    $url vbseo_any_url($url);

              
    vbseo_add_url($url1.0$lnk['lastupdated'], 'daily');
        }
        
    //pull public photo album feeds
        
    $lnkg $db->query_read("SELECT * FROM " TABLE_PREFIX "album WHERE state = public");
        while (
    $lnk $db->fetch_array($lnkg))
        {
            
    $url 'album.php?albumfeed='.$lnk['albumid'];
            if(
    VBSEO_ON)
            
    $url vbseo_any_url($url);

              
    vbseo_add_url($url1.0$lnk['lastupdated'], 'daily');
        }
                
    ?>
    Last edited by WeaponsCache; 10-29-2009 at 03:56 AM.

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello Matt ,

    vBSEO Sitemap Generator already only pulls data from forums that are open to guests. Additionally to that you can exclude any forum you want within vBSEO Sitemap Generator.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Junior Member
    Real Name
    Matt
    Join Date
    May 2009
    Posts
    19
    Liked
    0 times
    Yes, but I did not see any options for RSS feeds. Sure it is technically the same data that's already within the forums/videos/albums/links, but not in RSS form. Personally, I search for RSS feeds for things I'm interested in. Even if I don't go to the actual website, I still like to add good RSS feeds to my reader. The idea behind this was that I'm not the only one who searches for RSS feeds so when keywords from my site + "RSS" were put into a search engine that we would come up towards the top.

Similar Threads

  1. not listed in the faq?
    By Julio in forum General Discussion
    Replies: 1
    Last Post: 07-30-2008, 03:20 PM
  2. Still not listed!
    By kenfuzed in forum General Discussion
    Replies: 14
    Last Post: 04-26-2007, 10:41 AM
  3. Where are old url's listed!!!
    By T2DMan in forum Sitemap Features Archive
    Replies: 0
    Last Post: 12-18-2005, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •