You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Ross Gardler <rg...@apache.org> on 2005/06/03 21:16:10 UTC
Locationmap branch
As requested I have set up a branch with my experiments with the
locationmap. This branch is *not* to be used for any real work as I have
done little testing. It is merely for experimentation right now.
However, I do need the locationmap working in order to properly develop
the Daisy plugin. So things will progress over there.
At present there is a new demo page in fresh-site on that branch (see
last menu item in samples). This is intended to document the working
features. Which currently is only the link rewriting.
There is no documentation for the locationmap at present except that
page and http://issues.apache.org/jira/browse/FOR-200
WARNING
=======
If you take a look at the changes to forrest.xconf you will see a FIXME
regarding the location of the locationmap file. I don't know how to
define it within xconf from a property set in forrest.properties. I
suspect you can't and we will have to change the implementation of the
org.apache.forrest.locationmap.LocationMapModule to accept it as a
parameter from the sitemap.
Currently it will only work if you do "forrest run" within the
FORREST_HOME/main/fresh-site directory
If anyone wants to have a play around with this branch I'll do my best
to answer questions, but I'm not exactly familiar with it right now.
Ross
Re: Locationmap branch
Posted by Ross Gardler <rg...@apache.org>.
Tim Williams wrote:
> There's obviously a good chance I'm doing something wrong but when I
> build a seeded site based on the branch, i get:
There's an equally good chance that in my experiments I have overlooked
important things, as is the (partly) the case here.
For the part that is not my oversight see my original mail, in
particular the section marked
WARNING
=======
which contains the line:
Currently it will only work if you do "forrest run" within the
FORREST_HOME/main/fresh-site directory
(along with an explanation why).
What I mean to say is that:
a) you cannot seed a fresh site, you *have* to run, you must run from
within FORREST_HOME/main/fresh-site - this is *bad* and is certainly not
permanent, but as I explain in the original mail I think it requires a
little work on the java code, which I have not had the time to look at yet.
b) "forrest site" does *not* work. This one should be much easier to
fix. It is because I have been endlessly interrupted today and so I
never actually put meaningful links into the demo page (i.e. they don't
point anywhere).
> In the branched code i don't see the "locationmap" directory either.
> Can you point me in the right direction as I'd like to try to this
> stuff out.
Doh! This is the part that is my oversight.
I forgot to add the files before committing, I've done that twice
recently. I'm working too hard perhaps. Anyway I added them now, do an
'svn up' (beware of those links that go nowhere, perhaps you can fix
them as you work out how the locationmap works, the place to dix them is
in locationmap.xml).
> Thanks for all you help
No, thank you for taking enough interest to look at such early stage
work, it will be a rough ride for us all, but made smoother by more eyes
on the problem and ideas in the solution.
Ross
Re: Locationmap branch
Posted by Tim Williams <wi...@gmail.com>.
There's obviously a good chance I'm doing something wrong but when I
build a seeded site based on the branch, i get:
"* [129/4] [1/28] 0.27s 7.8Kb /samples/usemap.html
* [130/3] [0/0] 0.151s 4.1Kb /samples/usemap.pdf
X [0]
samples/locationmap/index.html BROKEN: No pipeline matched request:
samples/locationmap/index.xml
* [133/0] [0/0] 0.34s 243b
/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
Logging Error: Writing event to closed stream.
Total time: 1 minutes 22 seconds, Site size: 874,398 Site pages: 98"
In the branched code i don't see the "locationmap" directory either.
Can you point me in the right direction as I'd like to try to this
stuff out.
Thanks for all you help, hopefully as I learn more I'll be a little
more self-sufficient...
--tim