Avian Gamers Network
http://www.avian-gamers.net/forums/

Multiple Categories: XML Question
http://www.avian-gamers.net/forums/viewtopic.php?f=1&t=16535
Page 1 of 1

Author:  iJasonT [ Mon Apr 17, 2006 6:10 pm ]
Post subject:  Multiple Categories: XML Question

I need to get blog categories "News" and "Events" into the same XML feed.

I have 6 categories in my blog but I need a seperate feed for just these two. I tried
<MTEntries lastn="15" process_tags="1" category="Events", "News">

but that didn't work. Anyone know the right code? This is using Movable Type but any leads would be helpful

Author:  bigyak [ Tue Apr 18, 2006 1:41 pm ]
Post subject:  Re: Multiple Categories: XML Question

iJasonT wrote:
I need to get blog categories "News" and "Events" into the same XML feed.

I have 6 categories in my blog but I need a seperate feed for just these two. I tried
<MTEntries lastn="15" process_tags="1" category="Events", "News">

but that didn't work. Anyone know the right code? This is using Movable Type but any leads would be helpful


Read my XML lessons, could help for a distillation on syntax (www.crossler.com/635.781)


<MTEntries lastn="15" process_tags="1" category="Events", "News">

The Red part above isn't going to work. I don't know Moveable Type, but you can have a variable be a String or a NMTOKEN (which means it's an array list seperated by spaces - so "Events News" would mean two things), so check what variable type is being asked for in the Moveable type documentation.

If that doesn't help call/email, and I'll look it up. I've always wanted to learn moveable type.

Author:  iJasonT [ Tue Apr 18, 2006 4:42 pm ]
Post subject: 

thanks,
"News Events" didnt work as you can have string categories so it is looking for a literal "string".

Movable type is a dream to work with. I seriously love it. We use it in some very inovative ways and we pretty much lead the marketing industry in using it as a CMS. We even generat HTML emails via Movable Type! I only know of 2 other companies that do that.

If MT had an auth system it would be an amazing CMS!

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/