• I wrote a plugin that checks if any of your link-roll linked weblogs have been recently updated, and marks them as recently updated, using the options you have specified in your WordPress link manager options page.
    This does what used to be acheived by uncommenting one line in index.php earlier, which is no longer present in the current (1.2) default index.php.
    The plugin is available at
    https://carthik.net/wpplugins/updatelinks.phps
    Download it, save it as updatelinks.php , upload it to /wp-content/plugins (your plugins folder)
    Activate the plugin through the WordPress administration Plugins page.
    Make sure your links-update-cache.xml file (in wp-content) is writable (chmod 766) and wait. Depending on your link manager options settings, and how soon or late one of the weblogs you have linked to is updated, it might take a while before you see results ??
    I have tested this (there is not much that can go wrong, I guess, with a one line function ?? ) , but if there is any problem, let me know at mail at carthik dot net , in case I do not check this thread for updates.
    I beleive this plugin is essential if you want to know and show which of your linked-to blogs have been recently updated.
    I will add this to the wiki plugins page soon.

Viewing 12 replies - 31 through 42 (of 42 total)
  • Thread Starter carthik

    (@carthik)

    This forum software does not allow me to edit the first post, the current link is
    https://carthik.net/wpplugins/updatelinkroll.phps

    I have install and activated the plugin within WP. I made sure the cache files are set to 766. I tested it out and it does not work. Could anyone help

    I just put the line
    include_once(ABSPATH.WPINC.’/links-update-xml.php’);
    in the php tags as suggested by MtDewVirus (about 4 posts previous). It works a treat, I could not get the plugin to work and was really missing the function. Thanks Mt!

    Note that if you’re truly concerned about doing the processing every time the page loads, you can do something like this:

    <?php
    // Update links at most every 15 minutes
    if ( ( time() - filemtime( ABSPATH . 'wp-content/links-update-cache.xml' ) ) > (15*60) )
    {
    include_once( ABSPATH . WPINC . '/links-update-xml.php');
    }?>

    Gah, that was me, and it was meant to be put at the top of the index.php file in place of the standard simple “include_once” directive.

    Hey MtDewVirus, how are you calling this line into your index.php file?

    include_once(ABSPATH.WPINC.’/links-update-xml.php’);

    Thanks!

    Okay, I added the line MtDewVirus had and nothing. Do I need to update anything else? I have the option checked to track my link’s update times and nothing.

    I have tried everything mentioned in this thread as well as another one and still can’t get my links to update. I’m not getting any information in my links-update-xml.php file. Nothing.

    Is anyone willing to troubleshoot with me?

    Eh, I just created a cron job to run update-links.php. Thanks anyway!

    I am truly confused about this plugin, though I LOVE what it is supposed to do. When I visit the link above, it is a page to copy for one file, but the instructions above also reference a links-update-cache.xml file which is not included. Will this work for WP 1.5.2?

    Redbox, from what I understand, the current version of WP (1.5 and above) does not utilize the links-update-cache.xml file. That is from an older version.

    What is used now is wp-admin/update-links.php. I am not even using the plugin now. I have just setup a cron job that runs the wp-admin/update-links.php file every hour or so to update my links.

    I hope this helps!

    There is also a plugin called “Blogroll Update” you can find at https://www.hitormiss.org/projects/blogroll-update/

    I’ve been using it a while and it works great. You don’t need to run a cron job for it to work (my host doesn’t allow cron jobs).

Viewing 12 replies - 31 through 42 (of 42 total)
  • The topic ‘Update Links Plugin.’ is closed to new replies.