WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 26961
need an api to extract the html content from the document
https://bugs.webkit.org/show_bug.cgi?id=26961
Summary
need an api to extract the html content from the document
damaru+webkit.bugzilla
Reported
2009-07-03 21:59:24 PDT
We have the gtk webkit_web_view_set_editable api to make the web view editable. But there is no api to get the modified content. I am attaching a patch to enable extraction of HTML from the document.
Attachments
implements webkit_web_frame_get_html
(1.31 KB, patch)
2009-07-03 22:01 PDT
,
damaru+webkit.bugzilla
no flags
Details
Formatted Diff
Diff
moved the content to webkitwebframe.*
(1.18 KB, patch)
2009-07-04 23:59 PDT
,
damaru+webkit.bugzilla
no flags
Details
Formatted Diff
Diff
implements webkit_web_frame_get_html
(1.17 KB, patch)
2009-07-05 00:02 PDT
,
damaru+webkit.bugzilla
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
damaru+webkit.bugzilla
Comment 1
2009-07-03 22:01:02 PDT
Created
attachment 32251
[details]
implements webkit_web_frame_get_html
Jan Alonzo
Comment 2
2009-07-04 14:16:12 PDT
(In reply to
comment #1
)
> Created an attachment (id=32251) [details] > implements webkit_web_frame_get_html
Hi! Where is this used and why is it in webkitprivate.h?h
damaru+webkit.bugzilla
Comment 3
2009-07-04 20:41:43 PDT
I have put it in webkitprivate.h since it is similar in function to webkit_web_frame_get_inner_text which is also in webkitprivate.h. Also, webkitprivate was the only header that I found had extern "C" - and I needed this api for my C based project.
Jan Alonzo
Comment 4
2009-07-04 22:05:26 PDT
(In reply to
comment #3
)
> I have put it in webkitprivate.h since it is similar in function to > webkit_web_frame_get_inner_text which is also in webkitprivate.h. > > Also, webkitprivate was the only header that I found had extern "C" - and I > needed this api for my C based project.
Ok. I think you might want to put this in webkitwebframe.h for it to be an API. webkitprivate.h is currently being used for SPIs, which atm only DRT being the consumer.
damaru+webkit.bugzilla
Comment 5
2009-07-04 23:59:19 PDT
Created
attachment 32269
[details]
moved the content to webkitwebframe.* ok. i have moved the code to webkitwebframe.h
damaru+webkit.bugzilla
Comment 6
2009-07-05 00:02:30 PDT
Created
attachment 32270
[details]
implements webkit_web_frame_get_html fixed the comment
Gustavo Noronha (kov)
Comment 7
2010-05-31 10:57:38 PDT
I believe the data source API has provided a solution to this problem.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug