Bug 163103 - Formatting of HTML tables in the clipboard (NOT to do with excel!)
Summary: Formatting of HTML tables in the clipboard (NOT to do with excel!)
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.0.4
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 00:41 UTC by lrebrown
Modified: 2008-06-03 02:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lrebrown 2008-06-03 00:41:32 UTC
Version:           3.9.5 (using KDE 4.0.4KDE 1.2)
Installed from:    0I Don't Know

I'm currently building a web based system in PHP. In part of the system I need the ability to copy and paste a large amount of data from tables on a third party website.

I've concluded that the best way to do this is for a user to highlight the entire table, and paste it into a HTML <textarea> form field. I can then run it through a PHP parsing algorithm which will process the formatting of the table that was placed in the clipboard, in order to extract the data (which it will then store and later produce its own tables from).

I have done an extensive study into this in several browsers, which you can find here: http://lrebrown.x10hosting.com/table_clipboard_test/

The problem is that it is completely impossible to process any of the formatting from konqueror!
Comment 1 Maksim Orlovich 2008-06-03 02:42:19 UTC
It's probably better for a script than a human being actually --- IIRC, it does one end-of-line between each column and two between each row.

And yeah, that sucks.