Adobe GoLive templates support
Status: Inactive
Brought to you by:
davek
Hi!
I'm new with gnome desktop environment and
logically looking for a decent replacements for my
kde applications (if possible).
I've found out about Screem and it looks very nice.
Often I'm fixing some web-stuff created by my
Adobe GoLive friend, I'd like to see support for its
templates, taking into consideration that there is
support for DW and taking into consideration that
now Adobe owns DW :-)
Sincerely,
Gour
Logged In: YES
user_id=736
Without knowing what golive templates look like it can't be
done. I've done a bit of googling around and can't find any
free golive templates to download to check this, and the
trial version seems to disable template support.
If possible (license allowing) could you attach a sample
template here?
Logged In: YES
user_id=728695
Hi!
Thank you for your reply.
>Without knowing what golive templates look like it can't be
done.
Sure.
>If possible (license allowing) could you attach a sample
template here?
In the attachment there is one template use on my friend's
site. I do not include graphics etc.
In the past I wanted to persuade author of one script for
Quanta to add support for Adobe GoLive believing that DW
uses just a slight syntax for their 'template comments',
i.e. AGL uses something like:
<!-- #BeginEditable "Top" -->Top
&
<!-- #EndEditable -->
to mark sections.
Pls. let me know if you need further assistance.
Sincerely,
Gour
Logged In: YES
user_id=736
looks like they are the same as dreamweaver templates, they
should work in screem, assuming pages which use them have a
<!-- #BeginTemplate "/Templates/file.html" -->.
screem only allows a single template for a page though, so
doesn't allow nested templates.
the /Templates/file.html will only work in screem when
working on a site, otherwise the full path would be
required, e.g.
<!-- #BeginTemplate
"file:///home/david/MyTemplates/template1.html" -->
screem doesn't stop you editing non editable sections
though, but it will overwrite any changes made outside them
when the template is saved. (again when working on a site)
Logged In: NO
Now if iirc, there was some issue in dwt script with the
location of the templates in the AGL site structure...
So here you can see the top-level:
gour@gaura-nitai ~/repos/www/jyotish/head $ ls -l
total 40
drwxr-xr-x 7 gour users 216 Jul 12 11:39 _darcs
drwxr-xr-x 4 gour users 168 Nov 4 10:12 jyotish
drwxr-xr-x 9 gour users 256 Mar 19 2005 jyotish.data
drwxr-xr-x 2 gour users 464 Mar 19 2005 jyotish.settings
-rw-r--r-- 1 gour users 39324 Jul 12 11:39 jyotish.webprj
(_darcs is darcs repo and jyotish.webprj is Quanta project
file.)
Now,
gour@gaura-nitai ~/repos/www/jyotish/head $ ls -al jyotish
total 40
drwxr-xr-x 4 gour users 168 Nov 4 10:12 .
drwxr-xr-x 6 gour users 224 Nov 4 10:18 ..
-rw-r--r-- 1 gour users 318 Mar 2 2004 favicon.ico
drwxr-xr-x 2 gour users 144 Jul 12 11:39 GeneratedItems
-rw-r--r-- 1 gour users 36782 Jul 12 11:39 index.html
drwxr-xr-x 11 gour users 312 Nov 4 10:20 jyotish
gives another level where GeneratedItems contains generated
stuff which needs to be include when publishing the site.
...another level:
gour@gaura-nitai ~/repos/www/jyotish/head $ ls -l jyotish.data/
total 0
drwxr-xr-x 2 gour users 272 Jul 12 11:39 Components
drwxr-xr-x 2 gour users 48 Mar 19 2005 Diagrams
drwxr-xr-x 2 gour users 48 Mar 19 2005 Library
drwxr-xr-x 2 gour users 48 Mar 19 2005 SiteTrash
drwxr-xr-x 2 gour users 48 Mar 19 2005 SmartObjects
drwxr-xr-x 2 gour users 96 Mar 19 2005 Stationery
drwxr-xr-x 2 gour users 136 Jul 12 11:39 Templates
and one with Templates:
gour@gaura-nitai ~/repos/www/jyotish/head $ ls -l
jyotish.data/Templates
total 36
-rw-r--r-- 1 gour users 16698 Jul 12 11:39
forms_template_agl6.html
-rw-r--r-- 1 gour users 13984 Jul 12 11:39
jyotish_template_agl6.html
The rest is (probably) not interested.
So, how does it fit with DW & Screem scheme?
Nested templates are probably not required 'cause we used 1
template + components.
Sincerely,
Gour
Logged In: YES
user_id=728695
Hi!
Just a short note that I forgot to login while writing last
comment :-(
Sincerely,
Gour
Logged In: YES
user_id=736
would have to be
<!-- #BeginTemplate
"file:///home/gour/repos/www/jyotish/head/jyotish/Generated.data/Templates/forms_template_agl6.html"
-->
in this case, including at the top of the template file
itself, although what effect that will have in DW/AGL I
don't know.
Supporting <!-- #BeginTemplate "/Generated.data/Templates"
--> and not requiring it in the template itself will require
a small code change to screem as it currently only checks
/Templates,
I should probably give a warning that the template system
could eat all your data, I don't know if anyone has ever
used it except myself for small tests :)
Logged In: YES
user_id=736
The attached patch should allow pages to use a template with
<!-- #BeginTemplate "/Generated.data/Templates" -->
and it not have to be included on the template itself.
Saving new templates from screem for the site will use the
GoLive structure if it exists.
Patch is against 0.16.0.
Support /Generated.data/Templates
Logged In: YES
user_id=728695
Hi Dave!
Thanks a lot for your support.
>The attached patch should allow pages to use a
>template with
<!-- #BeginTemplate "/Generated.data/Templates"
-->
I'm looking at the patch, but I'm not sure whether
"/Generated.data/Templates" is OK?
The templates folder is created under
"sitename.data/Templates", where 'sitename' is the
name of the site and AGL stores the whole site under
sitename.site.
If you don't mind and if you have a trial of AGL installed
I can email you the whole site so you can check the
structure?
Sincerely,
Gour
and it not have to be included on the template itself.
Saving new templates from screem for the site will use
the
GoLive structure if it exists.
Logged In: YES
user_id=736
would be useful to mail me the site yes. the Generated.data
bit seems to have been me messing up a little and making up
a directory based off 2 different ones :)
Logged In: YES
user_id=736
the trial version of agl has some site templates there that
I can work off, no need to email.
Logged In: YES
user_id=728695
Hi!
I already sent you one of those - too late :-(
Sincerely,
Gour
working patch for golive templates
Logged In: YES
user_id=736
The newly attached patch makes it work, in addition to
adding a bit of special import code for golive sites.
pages created in screem from a template will probably not
work in golive as templated files though, without manually
setting the template path to what golive expects.
the upload code will probably need modifying for golive
sites as well due to the way the actual site to upload is a
subdirectory of the project directory.
Logged In: YES
user_id=728695
Hi David!
Thank you very much for providing the patch.
Today is already too late, so I'll try tomorrow to patch
Screem and do some testing.
> pages created in screem from a template will probably not
> work in golive as templated files though, without manually
> setting the template path to what golive expects.
that's something we can live with.
> the upload code will probably need modifying for golive
> sites as well due to the way the actual site to upload is a
> subdirectory of the project directory.
usually i was just providing tarball and then my friend was
doing upload from AGL.
Sincerely,
Gour
Logged In: YES
user_id=736
this was included in the 0.17.0 release, the caveats
mentioned still apply though.