Avian Gamers Network

Forum
It is currently Fri May 02, 2025 12:51 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Apr 17, 2006 6:10 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 01, 2002 4:33 am
Posts: 6698
Location: Silver Spring, MD
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

_________________
Moge


Top
 Profile  
 
PostPosted: Tue Apr 18, 2006 1:41 pm 
Offline
Spammer
User avatar

Joined: Tue Mar 25, 2003 4:10 pm
Posts: 3574
Location: Fairfax, Virginia
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.

_________________
--The Hermit


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 18, 2006 4:42 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 01, 2002 4:33 am
Posts: 6698
Location: Silver Spring, MD
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!

_________________
Moge


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group