Ticket #335 (new enhancement)

Opened 15 years ago

Last modified 15 years ago

It should be possible to publish HTML documents

Reported by: madarche Owned by: fguillaume
Priority: P3 Milestone: unspecified
Component: CPSDocument Version: unspecified
Severity: normal Keywords:
Cc:

Description

As of now it is not possible to publish HTML documents.

I think CPS should make this possibilty available to reach a wider range of users, especially power users, who prefer to use HTML directly on their website.

Attachments

RestrictedHtmlWidget.py Download (3.8 KB) - added by disabled-hc@… 14 years ago.
Widget I made
utils.py Download (3.4 KB) - added by disabled-hc@… 14 years ago.
Utilities needed

Change History

comment:1 Changed 15 years ago by madarche

  • Cc epietriga@… added

comment:2 Changed 15 years ago by fguillaume

  • Priority changed from P2 to P3
  • Severity changed from normal to enhancement, ben@nuxeo.com

Enhancement.

Also, it's fairly trivial to write a widget displaying raw HTML, or even simply a specialized view accessing the attribute that stores the HTML.

comment:3 Changed 15 years ago by madarche

Yes this an enhancement, but I need this enhancement if I want to use CPS in activities not related to Nuxeo. Without this functionnality CPS will not be used.

Since this is a personnal need, I'm eager and ready to take the ownership of this bug to have this functionnality included.

We just need to talk to how best implement this feature.

comment:4 Changed 15 years ago by disabled-hc@…

I made a widget which allows a subset of HTML using an SGML parser. This is GPL-code, I can contribute it. Yes, it's even used in production ;-)

comment:5 Changed 15 years ago by madarche

Yes yes yes please.

comment:6 Changed 15 years ago by disabled-hc@…

  • Cc hc@… added

comment:7 Changed 15 years ago by disabled-hc@…

I atttached the code I made.

Changed 14 years ago by disabled-hc@…

Utilities needed

Note: See TracTickets for help on using tickets.