Converting HTML to CSV

Del.icio.us has changed the overall look and feel of its website.  I have been using the web-based service for a couple of months now.  I am quite impressed at all the features that help me organize and search my bookmarks.  I was able to export my exising bookmarks to an HTML file.  This file is a chronological list (a log) of the entries that I submitted to the service.

While looking for a way to convert this file to a CSV file I found a comment on a message board that relates to the process.

REF: http://www.daniweb.com/forums/thread7979.html

Arizona Web wrote:

if you alter the same script that generate the tables, get rid of the <table> and </table>, get rid of all </tr>, replace all instances of </td><td> with a tab, and replace all instances of <tr> wit ha line break, you have a properly formatted csv file (provided there are no tabs or line breaks in your data). You can then make a button that calls a script that generate the file for download.

The procedures outlined in the suggestion above could be made by using the search/replace function in my text editor.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s


%d bloggers like this: