Affiliate Window

You are here: Home > Web Design > Use CSV or XML Files And Make Your Life Easier!

Use CSV or XML Files And Make Your Life Easier!

If you are designing a directory site such as my hotel room website, my breakdown cover site or my credit card site, it's much easier to either build in an admin interface or to use a simple script that can parse CSV / XML files.

Why?
 
Today I had an email from Hilton Hotels asking me to change all my banner links and deeplinks.

Given they have quite a few hotels, this could be a daunting task to someone who has hardcoded their website.

But I've built a script that takes a CSV file, and inserts it into the database, overwriting the previous data. This means all I had to do was one "search and replace" search, save the file to my server and run the script.

Hey presto, all sorted.

Such an approach could be used for directory based websites, voucher code websites, etc.

What I do is simply set up a CSV file for each new site I create rather than use an admin interface. It takes less time and it's more secure as I can delete the import script after use, rather than relying upon a password protected admin area.

Keep up-to-date quickly and easily. Subscribe to my RSS feed or better yet, subscribe to my aggregated affiliate marketing RSS feed - 30 respected UK affiliate bloggers all compressed into one simple RSS feed!

You may also be interested in reading:

4 Comments

Comments are manually approved and hence can a while to appear. Questions, informative posts, and feedback comments are gladly accepted. Spam is deleted. Spam-type comments have their links removed (Comment Policy)

chris

I don't use csv / datafeeds but the benefits are obvious so maybe i should. I usually concentrate on unique content and often rewrite alof of product information. If you have hardcoded your website or are a designer (like i am) theres a tool i use called,

Search and Replace funnily enough and will search through all files in a directory and change, http://www.rjlsoftware.com/...

Hope this helps those who have hardcoded their websites!

Written on Thursday 06 December 2007 at 19:56:24 GMT (Permalink)

gadget

Would you mind sharing the source script you use and perhaps posting 'how to do it' or a link to another site? Many thanks.

Written on Friday 07 December 2007 at 08:54:15 GMT (Permalink)

David

@Chris - Thanks for the link

@Gadget - On my todo list :-)

Written on Friday 07 December 2007 at 09:53:16 GMT (Permalink)

Data Conversion Tools

It is so much easier when you automate sections of your process in order to keep things up to date.

Written on Monday 31 March 2008 at 23:29:26 GMT (Permalink)









Enter the URL without the http:// part else your comment won't be saved.





RSS Feed

Search DavidFiske.com