What is this markup written in? What language? There’s an Action for
PHP:
http://www.actionsforge.com/actions/view/131-php-external-markup
This inserts the linked file into the Before HTML section using a PHP
include() statement. So it wouldn’t work for another language, and it
wouldn’t place the code inside the visible page for you.
I know there’s some limit to the amount of text you can paste into a
fwBigText dialog, which is what CrowBar uses for its input. I don’t
recall what it is off-hand, I know Tim Plumb looked into it some years
back because it was affecting his Source Code Snooper Action, which
Crowbar borrows from shamelessly.
There’s another technique for getting large amounts of text into a
Freeway page, but I haven’t tried it in a long time. Basically, you
save your file with a .inc file extension. Then draw an HTML box on
your page where you want that code to be inserted, and while the box
is selected, use the File / Insert command to link to the inc file.
When the page is published, the code from the inc file is inserted raw
into your page at the point of the HTML box, and I believe the HTML
box (DIV or TD) is also generated to wrap it. But as I said, I haven’t
tried that trick in years and years.
Walter
On Jan 6, 2011, at 2:48 PM, Dan J wrote:
Hopefully an easy question here.
Is there a way to load an external text file (or html, php file)
that has some markup code in it to be put in a specific area when
Freeway publishes the page?
For instance, on a site I am working on, we are using a ton of
markup code for this one section and it’s locking up Crowbar and
regular Markup Items to the point that it crashes Freeway possibly
due to memory. Now the markup here is only going to get bigger, so
I was wondering if there was a way (or an action already exists) for
an external text file that only has this markup in it to be attached
and the content is then put into a specific area right in Freeway?
(Now that I write this it sounds more complicated than I thought)
OR
What would you suggest for placing large amounts of markup code into
a specific section of a page so it doesn’t crash Freeway?
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