View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001727||Scribus||Import / Export||public||2005-02-25 04:18||2006-04-24 13:53|
|Summary||0001727: HTML import doesn't respect CSS|
|Description||When I import with "Get Text" an HTML document that is formatted with CSS, the CSS styles do not get included in Scribus. This happens both when the CSS is embedded in the HTML document and when it is in a separate stylesheet referenced with a link tag.|
|Steps To Reproduce||Open a blank document, create a text frame, "Get Text" and select an HTML document with CSS formatting. The style in Scribus will be the Scribus default HTML style, not the CSS style.|
|Tags||No tags attached.|
There's no CSS support in the importer at the moment. I don't know if there are any plans to work on it.
I'm converting this to a 'feature' bug, as it's really desired functionality rather than something that's broken.
|moving to 1.3+ as a feature request|
||do we really need this? Which real world scenario for this feature request would justify the amount of work needed to implement it?|
||The real world scenario is or will be, that in the future more and more HTML documents will contain CSS formatting, which is what W3C recommends.|
||christoph_s: I extencively use CSS myself (it's a part of my job :), but under which circumstances would such a complexity in HTML importer be needed? Importing of CSS styled websites into a DTP application doesn't occur to me as a very common task.|
||I don't think the feature request means css formatted web pages, but css formatted text. IMHO, it makes sense to translate CSS text styles to scribus styles, if possible.|
christoph_s: and which dtp related programmes (apart from web authoring tools) would produce such CSS styled html output to be imported into Scribus? I would without any hesitation support import/export filters for Lyx and Latex, even DocBook, but i don't think this one would become a widely used one.
>>>and which dtp related programmes (apart from web authoring tools) would produce such CSS styled html output to be imported into Scribus?
I'm not talking about DTP related programs, but any other program. OO.o, for instance, uses CSS in HTML export. There may be other text related programs (e.g. wordprocessors that don't support OpenDocument).
there are libraries which can provide the css parsing capabilities like libcroco with libxml2.
This is a legitimate request IMO.
|2005-02-25 04:18||pdonis||New Issue|
||Note Added: 0003816|
||Severity||minor => feature|
||Note Added: 0004131|
||Product Version||1.2.1 => 1.3|
|2006-04-08 15:41||mhanski||Note Added: 0009698|
|2006-04-21 12:50||mhanski||Status||new => feedback|
|2006-04-21 13:13||christoph_s||Note Added: 0010235|
|2006-04-21 13:23||mhanski||Note Added: 0010237|
|2006-04-21 13:43||christoph_s||Note Added: 0010240|
|2006-04-23 22:21||mhanski||Note Added: 0010382|
|2006-04-23 22:31||christoph_s||Note Added: 0010384|
|2006-04-24 11:49||mhanski||Relationship added||related to 0003698|
|2006-04-24 12:43||mhanski||Note Edited: 0010382|
||Note Added: 0010411|
||Status||feedback => confirmed|