• 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 15 replies - 16 through 30 (of 42 total)
  • Seems to be working for me — thanks!

    Thread Starter carthik

    (@carthik)

    The plugin is just part of what is needed to get it to work, trench.
    You also need to check your settings in the link manager options.
    Also change permissions to the links-update-cache.xml file to 766.
    Hope that helps.

    2fargon – Nice plugin. FWIW: I did the same thing by creating a crontask that calls links-update-xml.php every 60 minutes. This has less impact on the server than calling the file each time someone hits the weblog.
    <rb>

    Settings are fine and links-update-cache.xml is CHMOD to 766. I must have broken some code somewhere.

    hmm, I have to agree, I have data in the links-update-cache file, but I am not seeing any changes to the ordering :/
    any particular settings I need to change in the links settings that could be causing this?

    I’m getting an error after activating the plugin and setting the CHMOD for links-update-cache.xml to 766 as well. When I tried to update the time to consider a link recently updated, I got:
    Warning: Cannot modify header information – headers already sent by (output started at /home/phildenn/public_html/wp-content/plugins/updatelinkroll.php:25) in /home/phildenn/public_html/wp-admin/options.php on line 115
    According to the link posted above, there’s a way to fix by editing something in the options.php file, is that right? I’m not terribly familiar yet with the ins-and-outs of php – can anyone help me out?

    That’s the White space issue.
    Reason and Solution :
    It is usually because there are spaces, newlines, or other garbage
    before an opening ‘<?php’ tag or after a closing ‘?>’ tag, typically in
    wp-config.php. This could be true about some other file too, so please check the file that gave you the error too (mentioned in the error message).

    Why is there a plugin needed if this is something that’s built into WP? I came here looking for answers, wondering why that option was in the backend if it doesn’t appear to be doing anything… do I /need/ this plugin if I want the updated links?

    No, my guess is you don’t need the plugin if you can do a cron job (or in my case a scheduled task) to update the links.

    Thread Starter carthik

    (@carthik)

    Ocean, earlier, the same job as that which the plugin does could be accomplished by uncommenting one line in the default index.php.
    Since 1.2 that line (to be uncommented) is not there, so I wrote this plugin as an easy means of getting to update the links.
    Get the plugin file, update and activate it and there’s no more worries – that was the idea behind it. It’s probably the simplest plugin out there, and you really need it to get the links updated, yes.
    Cron jobs and such might be too advanced for at least some users, so this is perhaps the easiest (least work) way of updating links from within the wp system.

    Hmm. I have access to cron jobs on my account, but if it’s as easy as a plugin, why not. ??
    Thanks for the explanation and the plugin. On the WordPress side of things, it makes it seem like an unfinished feature then, if you know what I mean. Perhaps something to look at in future versions.

    Hi,
    same problem like ckelly5 here:
    i have data in the links-update-cache file, but I am not seeing any changes to the ordering and no prefix like >>. I am using the Update Linkroll Plugin.
    Am i missing something????
    TIA
    Edlef

    Plugin? Mine works fine without any type of plugin… I simply have this line….
    include_once(ABSPATH.WPINC.'/links-update-xml.php');
    at the top of index.php (in PHP code of course).
    Am I missing something here? What does this plugin do that WP doesn’t?

    Thread Starter carthik

    (@carthik)

    MtDewVirus,
    It is perhaps the case that you are using your pre-1.2 index.php.
    In the default 1.2 index.php , that line is missing, and hence the need for a simple plugin like this one.

    Yeah, my index.php is very customized and hacked up…I never replace it with WP’s version.
    So the plugin simply adds the line? Interesting, but I’ll save time and bytes by just keeping the line in the file. ??
    BTW…the link in the first post is not working. I was going to look at the code, but couldn’t.

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