Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to XML w/Coldfusion; need some guidance

Status
Not open for further replies.

okiiyama

IS-IT--Management
Jan 3, 2003
269
US
First off, any good tutorials on how to create an xml writer/reader using coldfusion?


Secondly,
I'm creating a feed that trulia.com will be using and here are the specs:

I've not worked with XML before so this is a learning experience. Per trulia's xml structure/tags, I've created a .cfm page. Is it okay to use a .cfm page with xml syntax instead of a page with .xml extension? Also the feed contains about 10,000 properties which are coming from a query, and this makes it impossible to open the page. Is it better to write the output to a file created with cffile, and give trulia.com the link to that .xml file?

Am I making sense?
 
Yeah.

Make the XML static in a .xml file.
Use cffile to create the xml file when contents change.

Do you need all 10000 records in there? Could it make more sense to separate it into different categories maybe? or date ranges?

Kevin

Phase 1: Read the CFML Reference
Phase 2: ???
Phase 3: Profit!
 
I'm not sure about always needing the 10000 records, but per the specs and my boss, they get all the records each time they pull.

Thanks for the advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top