Hi all,
I needed a plugin to retrieve all my blogs information like title, url, description. Since I couldn’t find it, I wrote it myself.
This is particularly handy if you use blogs as website sections.
Please bear in mind this is my first attempt in making a plugin for EE and also my first try at PHP.
so any feedback welcome!
There is an optional parameter “hide” where you can tell which blog_id’s to HIDE from the list.
eg.
{exp:retrieve_blogs hide="4" parse="inward"}
{exp:weblog:info weblog="{blog_name}"}
{blog_title}
{blog_description}
{/exp:weblog:info}
{/exp:retrieve_blogs}
or
{exp:retrieve_blogs hide="1,2" parse="inward"}
{exp:weblog:info weblog="{blog_name}"}
{blog_title}
{blog_description}
{/exp:weblog:info}
{/exp:retrieve_blogs}
Hi there psykik,
Well done on the plugin, great idea!
Perhaps it might be nice to be able to allow people to use the weblog names instead of the id’s? I for one know I never remember the id numbers but can always remember the short name of the weblog.
Just a thought though.
Well done on what looks like a great first plugin.
Best wishes,
Mark
I used your retrieve status as an example 😉 so a bit of credit goes to you as well 😉
Yup I thought you might have done! 😉 Noticed from the layout 😉
yes post all feedback and wished features here. i was also thinking about a parameter “show_inactive” so you can filter out blogs that do not have the “open” status. grts,
Yes I think that short weblog names would be a good one. Don’t know if that should be instead of the ids or alongside? Perhaps a parameter which says which to use and then the hide parameter could either have ids or names?
The show_inactive parameter would be great too! 😊
Keep up the great work, I’m sure people will definitely find a need for this one.
Best wishes,
Mark
Great plugin, seeing many use more than one weblog, getting them in a list should be as easy as listing categories.
Well done. Am trying to make a list with links automatically. I use weblog short_name for tempate groups, but can’t seem to get a tag to work for url? Maybe too early in am…
Duh! blog_url everything else is named weblog_something, 2 coffee’s later n solved.
Now to get it to not show empty?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.