[wp-hackers] Exporting blogroll to OPML
kim at tac.nyc.ny.us
Thu Dec 2 20:33:51 UTC 2004
I was just asking my friends recently if there would be any interest in
feeds per category. I guess it would be good to have.
The sample index.php is already pulling the links in per category into
a combined feed (or HTML page), so having such feeds from the web page
is really just a matter of mapping URL's to each category.
So, I tweaked the sample index.php and dot.htaccess a bit, on how it
parses the URL's (PATH_INFO), and now you can do this:
where "Reminders" is a link category in my WP.
The code should be enhanced to parse the URL just like the category
stuff in WP does (lowercase, spaces turned to hyphens)...
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
On Thu, Dec 02, 2004 at 05:12:58PM +0100, Bernard Flach wrote:
> If i have more category's .. can i filter those to create different
> OPML file per category ..?
> Example .. i've got a category named audioblogs and weblogs. Can i
> filter weblogs out so i get only an OPML file of audioblogs ?
> Hope you know what i mean.
> On Thu, 2 Dec 2004 09:44:42 -0500, Kimmo Suominen <kim at tac.nyc.ny.us> wrote:
> > Since FeedCreator does OPML, it would be trivial to use the XBEL exporter
> > I wrote. I guess I should make this into a plugin, and allow selecting
> > the format in the request...
> > http://kimmo.suominen.com/2004/11/27/export-wordpress-links-as-xbel/
> > I've updated the sample index.php file for wp-links to handle the OPML
> > case as well.
> > A "live demo" is at
> > http://kimmo.suominen.com/links/
> > Just look at the "Feeds" sidebar for a few different formats.
> > Regards,
> > + Kim
> > --
> > <A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
> > On Fri, Dec 03, 2004 at 12:07:36AM +1300, Stephen Cropp wrote:
> > > Someone came in to #wordpress this evening (NZDT) and wanted to know
> > > about exporting the blogroll in WP to OPML. This is actually something
> > > that got my interest. I can think of a number of uses for this myself.
> > >
> > > Does anyone know of a plugin for 1.2.x that might do this already? Is
> > > this also something that might be useful in the 1.3 release as a default
> > > plugin?
> > >
> > > Just throwing the net out there. Any feedback/ideas?
> > >
> > > Steve
> > > (aka Korgan)
> > _______________________________________________
> > hackers mailing list
> > hackers at wordpress.org
> > http://wordpress.org/mailman/listinfo/hackers_wordpress.org
> Met vriendelijke groet / kind regards,
> Bernard Flach
> hackers mailing list
> hackers at wordpress.org
More information about the hackers