Support forum login

©2006-2008 IAAI Software

Contact Us

Registering Feeds question

Submitted by frychiko on Fri, 2008-08-22 14:35.

Hi David,

Just trying to understand some logic of your code.. (I've ported the code over to codeigniter but now trying to iron out some bugs...)

When the magic_parser opens up a file to determine the file format, does it go through the whole file?

Reason I ask is because right now in it's ported state, it takes a very long time to get the format of the file, I think it used to be instanteous..

cheers,
Peter

Submitted by dmorison on Fri, 2008-08-22 14:50.

Hi Peter,

XML files have to be read completely; CSV files are auto-detected based on the first line so they auto-detect much quicker (appears instantaneous).

Hope this helps!

Cheers,
David.

--
Developer, Price Tapestry
For unrelated PHP, MySQL or Affiliate Marketing tech help please post your questions on my personal forum