[Pro] Get HTML

What does menu File > Get HTML actually get? Any HTML at all?

Here’s a link to an uncomplicated page that I’m trying to import – simple divs with their background colors:

http://cssway.thebigerns.com/workbench/du_jour/html-import/

And here’s what I get:

http://cssway.thebigerns.com/workbench/du_jour/html-import/goldenrod.html

If you compare source codes, you see that I’ve “gotten” no actual html at all. What is “gotten” is text p tags substituted for the original html tags. It’s then placed and styled by inventing table and spans structures that are not part of the “gotten” html. The only thing to be accurately “gotten” was the CSS named color which I had applied as a css style to the body tag.

Is this just a badly named menu item, or is there a way to get this to work somewhat as intended? Open to suggestions.

http://cssway.thebigerns.com/workbench/du_jour/html-import/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Ernie,

The label is a little misleading, I think. It’s very good at pulling in table-based layouts, and in particular forms laid out in tables. The Paste-markup uses the same code (which is also best at bringing in tables and forms). We’re hoping to improve it for more contemporary sites in a future update.

Joe

On 19 Feb 2013, at 08:01, The Big Erns email@hidden wrote:

What does menu File > Get HTML actually get? Any HTML at all?

Here’s a link to an uncomplicated page that I’m trying to import – simple divs with their background colors:

http://cssway.thebigerns.com/workbench/du_jour/html-import/

And here’s what I get:

http://cssway.thebigerns.com/workbench/du_jour/html-import/goldenrod.html

If you compare source codes, you see that I’ve “gotten” no actual html at all. What is “gotten” is text p tags substituted for the original html tags. It’s then placed and styled by inventing table and spans structures that are not part of the “gotten” html. The only thing to be accurately “gotten” was the CSS named color which I had applied as a css style to the body tag.

Is this just a badly named menu item, or is there a way to get this to work somewhat as intended? Open to suggestions.

http://cssway.thebigerns.com/workbench/du_jour/html-import/


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for that Joe.

I tried my experiment with tables
http://cssway.thebigerns.com/workbench/du_jour/html-import/goldenrod-table.html

but again, all that comes through is text and a mess that doesn’t include
anything I want. So, I went and had a coffee.

I love coffee… dark roasts with a hint of chocolate and sweet cream are my
favorites. During my time in the indian and arabian sub-continents, I
enjoyed so many kinds of coffees and beverages… traditional Arabic coffee
is more like a tea, while some of the teas are dark and thick. I sometimes
miss braving the heat and humidity to wander out of the way and find a nice
little café…

And then it hit me – if FWP is only good at bringing in text from html
documents, why not try formulating the attributes I want as text styles?

So I made this:
http://cssway.thebigerns.com/workbench/du_jour/html-import/goldenrod-last-ditch.html

Sure enough, all the hex colors were imported - all I needed to do was edit
their names… yay! Suddenly, importing colors from my color apps is much
less back-breaking work than it was before.


Ernie Simpson


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options