Oct 03 2005

Merge Blogrolling list into WP blog

Posted by paul

Tags:

A quick search found fw-blogroll (Dynamic blogroll display) plugin [some of the English translation isn't great].

The instructions are quite confusing:

You need to change your links.php template by calling the functions described below. Then, as usual, you will create a Page in WordPress to which you will affect the links template.
If you want to use the dynamical list, call this function
get_links_dropdown_list($order = ‘name’, $category = -1, $exclude=”)
$order can be “name” or “id”, $category default -1 (all categories) or can be a single category id, $exclude will exclude one category if you mention its id.

Hmmm, it appears that links.php isn’t called by any of the theme’s pages, so let’s just slap that line of code straight into sidebar.php … and that breaks it; well done! Of course, if I’d activated the new plugin that would have helped. D’oh!

OK, so now the page loads OK but there’s no content … but I know that’s because I’ve not imported my blogroll yet. WP’s “import links” says “Go to Blogrolling.com and sign in. Once you’ve done that, click on Get Code, and then look for the OPML code.” That’s easy enough; copy, paste, select category, import … error!

XML error: undefined entity at line 16
Inserted 5 links into category 4. All done!

Looking at the raw OPML output, it’s clear there’s a non-standard character on line 16, c/o the “n-with-a-tilde-over-it” at LunaNiña.com; a quick edit to replace it was a plain old “n” and we’re off again.

This time pointing my browser at the OPML URL doesn’t produce any output at all!?! Ah, but if I view->source it’s all there, so let’s have another go at importing it … success!

So do I need to do this import every time I add a new blog to my BlogRoll??

Reload the blog’s main page and the BlogRoll info is all there – it’s really ugly, but it’s all there.

Update: I did finally discover that I was going about this the wrong way entirely!

Filed under : Uncategorized | No Comments »

Leave a Reply

  • Paul's Popular Photos

    TOPW:CV-07RainbowA Hog in HogtownShadowSunset on shiny streetcarBranchciclesTake a seatCosta del Toronto, circa 1968Water water everywhereStretchNPS05Not much to see from the Observation Deck
  • Recent Posts

    October 2005
    S M T W T F S
    « Sep   Nov »
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    3031  
  • Archives

  • Categories

  • Meta

  • Badges



Rodney's 404 Handler Plugin plugged in.