Thanks to Rick and Emre for the excellent suggestions which prompted these improvements to the Ma.gnolia WordPress plugin:
- Added the ability to pull bookmarks from group collections as well as those of individual people. Tags can be used with either, so you can pull bookmarks from the Web Design group that have been tagged with ‘css’.
- Added ability to pull the Full feed from Ma.gnolia, which includes:
- Thumbnails of each bookmark
- The tags applied to each bookmark
Please note, this is all or nothing, so you cannot just pull the image, or the image and description without the tags. Sorry, but that’s how it’s coming through and I spent too much time trying to find a way around it with a couple of different RSS parsers.
- Changed the variable $username to $collection to fit the new model of pulling from groups or individuals. This shouldn’t impact your site as it is more of a clean-up task.
- Added configuration option to enable/disable the link to view more Ma.gnolia bookmarks
- Added the plugin to wp-plugins.net/ to ease updates for folks using Update Manager to track plugin updates (like me).
Please check out the official page to download the latest version and the new examples page to learn more about the plugin.
Note: for Users of 1.3: You should be able to drop this upgrade in place without changing any of your code. Please let me know if you notice any issues with your existing setup.
14 comments so far… Jump into the discussion and tell us what you think.
Nice update, Alex. You’ve definitely picked this up and run with it!
Thanks Todd! I’m about to put in for some feature improvements based off of this release, so you may get to share in the workload. ;)
Hi Alex,
I’m just struggling setting up the plugin. I added the plugin to my wordpress blog, but I have no idea what to do now? Is there any interface where i have to add my ma.gnolia login data? And which php-lines do i have to add to an empty page to show the result?
Sorry for these newby question, but I’m pretty helpless right now :)
Hi Jan, have you had a chance to look at the documentation and the example usage?
The second link provides examples of how to include the code on a page and how to specifically pull in your links (see example 3). You do not need to include any login data for this to work. :)
Let me know if you continue to run into problems and I’ll see what I can do to help.
Hi Alex, thanks for your reply!
Yes, I looked through the documentation. I installed your plugin like I always installed plugins. It is activated and working.
I inserted the “example 1″ code into a blank site of my blog and also for testing purposes into a blank article. I always inserted the code in the HTML viewer with
. I also tested it without.When I press save and publish, nothing appears on the site. The reason is farely simple: When I go back to edit the site or the article, the code is gone. It seems that Wordpress doesn’t accept the code and automatically delete the code from my site or article.
I have no idea why this happens…
wohoo, I got it. It took me a while to understand the whole concept of wordpress’ site templates. After inserting the PHP-Code into a site template and creating a new site with this template, everything worked well. Sorry for my newby comments :)
One additional question: The plugin can only show bookmarks which are saved as “public” – right?
ups, one more: is it possible to configure the plugin to open links in a new window/tab, instead of in the same like it is now?
I’m currently working with this code:
I saved 4 links in magnolia and these 4 links appeared at my blog. Then I deleted these 4 links and added 4 new ones. But these new ones doesn’t appear on my blog. Instead the old ones are still there.
Where is my mistake? Would be great if you could assist me!
Hi Jan, regarding the removal and addition of links – it’s likely that you need to give it a bit of time for the RSS feed to update on the Ma.gnolia side. Check again to see if it shows the proper links now. :)
To open the links in a new tab, you need to modify the plugin file itself. If you’re comfortable with that, open the file
wp-content/plugins/magnolia/magnolia.phpand add this code at line 75:That should do it I think.
Hi alex,
thanks for your support.
Unfortunately the Plugin does not update the links. My only other Plugin is named “Members only” and requires the user to Login to read the Blog. Could that the reason why your plugin doesn’t update properly?
I tried it now with a different account. When I add the php-code of this account to wordpress and than bookmark something, this bookmark will be displayed in my blog. All following bookmarks (regardless if they are public or private) will not be displayed. It seems like that your magnolia stopps requesting the new bookmarks. Or in other words: ma.gnolia.com stopps adding new bookmarks to the RSS feed. :(
That’s an interesting one Jan. I don’t know off-hand what it could be. Perhaps an issue with permissions on the folder where the cache is stored..? Can you verify that the cache folder (should be wp-content/cache) is set up to allow the script/server to write to it? I don’t know why it would work once but not again, but this could help resolve the issue.
mhh, not really. I even don’t have that folder. As long as I know, in the basic wordpress installation has not enabled the wordpress cache feature.
Hi Alex,
I’m trying to use the plug-in but keep getting the message “Unable to output bookmark list” returned. I copied the code from Example 3 (both as is and modified for my ma.gnolia stream) but can’t seem to make it work. What could I be missing? I’ve verified that my stream is publishing.
Aurelius