1
peterr
Best module to display HTML 'bloatware'
  • 2005/5/16 1:59

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Hi,

Currently looking at converting a CSS site to XOOPS. The owner wants to use the 'treemenuxl' module, and so using that in itself presents a few limitations with menu options/structure (just that it only displays modules in the menu, and so you cannot add your own blocks in the menu, at least not without some sort of hack.). Anyway, the menu is not our concern at present.

The owner puts out a HTML newsletter once/mth, and (unfortunately) creates the newsletter in M$ Word, and then saves it as a HTML document, so we have some serious bloatware problems with the HTML code for a start. I have converted the (html) code as best I can with a Microsoft converter, and the results, in 'raw' format can be seen on the current site here:

http://beautifulfeettaskforce.org/200504.html

Then I wrapped the required XOOPS code around it, and it can be seen here:

http://beautifulfeettaskforce.org/200504.php

I tried using the news module, and pasted the (bloatware) html code, but of course, that was a real mess.

Is there a module that could be used for these newsletters, or will I just have to wrap the few lines of PHP code each time ?

Some sort of index would also be preferred, as can be seen with the current site:

http://beautifulfeettaskforce.org/theoutreachfiles.html

We do of course need a link on the menu to show 'Outreach Files', and ideally, it would be nice to keep the JS expand/collapse consept on the menu, to show all the monthly newsletters.

Converting the "bloatware" to code that would be suitable for 'importing (pasting) into a news article or similar is, I think, completely out of the question, because M$ use non-compliant code. I have already gone down that track on a webmasters forum. :)

Hoping for a solution.

Thanks,

Peter

2
tripmon
Re: Best module to display HTML 'bloatware'
  • 2006/3/27 3:39

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


try checking out tinyd.

It can wrap whatever.

Authors site: peak.ne.jp/xoops

3
frankblack
Re: Best module to display HTML 'bloatware'
  • 2006/3/27 6:12

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


You could use one of the WYSIWYG-editors (tinyeditor, koivi, FCK or inbetween etc.pp.) to get rid of the Word-HTML-crap.

Out of personal reasons I am quite satisfied with the word-cleaner from tinyeditor/inbetween, which seem to be the only ones, where you have some options when it comes to cleaning HTML. AND you have the ability to clean the code with regular expressions within these modules.

Login

Who's Online

133 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 133


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jun 30
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits