Hi all
I've been adding content to a site lately, and have found that I would really like to be able to import HTML into a page.
It's behaviour should be to:
Strop the tags
Strop (or convert) the entire head section
and
optionally strip all of the stylename stuff and stylesheet info and convert to just raw HTML, but this is optional
this would allow people to more rapidly migrate existing sites or existing data from different sources into cmsms
what do you think
Import HTML into pages
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Import HTML into pages
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Import HTML into pages
Seems like this would be a pretty straightforward little script.
What would it do in terms of hierarchy? Or would it just suck in the content, and you'd massage it into usable shape later?
What would it do in terms of hierarchy? Or would it just suck in the content, and you'd massage it into usable shape later?
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Import HTML into pages
I was thinking it would just dump the content in and you would later manage heirarchy, stylesheets, etc. ideally, the ability to import a stylesheet into the stylesheet thingy would be cool. too.
I was just thinking I was trying to copy a stilesheet and look and feel from a corporate site to use in an intranet, I had stylesheet, and I had some content pages, and it was a HUGE pita to get it all in using cut and paste (especially seing as I was using windows 98 on vmware from an FC1 host and cut ant paste just didn't do it's thing (damned windows and the damned un-friendly cut and paste as compared to unix).
I was just thinking I was trying to copy a stilesheet and look and feel from a corporate site to use in an intranet, I had stylesheet, and I had some content pages, and it was a HUGE pita to get it all in using cut and paste (especially seing as I was using windows 98 on vmware from an FC1 host and cut ant paste just didn't do it's thing (damned windows and the damned un-friendly cut and paste as compared to unix).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.