List Info

Thread: Newbie Question




Newbie Question
user name
2006-12-22 22:04:45
Hello

I've just (today) downloaded Blojsom 3.0 & I'm having a
bit of a  
problem with the documentation; I gather this is in the
process of  
being updated for 3.0 and is therefore incomplete/out of
date. Since  
I've no experience of any earlier versions it's hard to know
if a  
problem is the documentation having not caught up or a ID10T
user  
problem!

What I want to do is drop blojsom into an existing site
while  
preserving it's look and feel (side navigation etc) I
already use  
Tomcat as a web-server and for a limited amount of ajax via
DWR,  
while I have no experience with velocity I'm an experienced
Java  
Developer so what I need is some starting points to
jumpstart my  
understanding of Blojsom and difference between 3.0 and
previous  
versions as they relate to understanding the documentation, 

especially in the area of configuration/customisation.

Thanks

Ray Sutton


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
Newbie Question
user name
2006-12-22 22:31:10
Ray-

The first thing you'd want to do if you want to use blojsom
in an existing
web application is to copy over the contents of the
blojsom.war file into
the existing application. You can probably disregard a file
like the
index.html. Beyond that you'll need to make sure all the JAR
files for
blojsom are in the existing web application's /WEB-INF/lib
directory and
then make sure the files in /WEB-INF/classes get copied over
to the existing
web application's /WEB-INF/classes directory. After that
you'll want to copy
over the relevant portions from blojsom's web.xml file into
the existing web
application's web.xml file. So, that's probably the easy
part, relatively
speaking. 

If you've done everything right, you should be able to load
http://your.s
ite.com/existing-app/blog/ and see output from blojsom.

Integration into your existing site is a little more work,
but really it
should only involve tweaking blojsom templates and then
including that
content somehow in the larger site. Let's assume you're
working with the
"default" blog. You probably just want to include
the blog entries I guess,
so if you edit the blog's default template, asual.vm, in
/WEB-INF/blogs/default/templates, you should be able to
remove all
#parse(...) statements that include other pages and just
create a new shell
that would basically consist of:
                   
#foreach($entry in $BLOJSOM_ENTRIES)
## write out the entry stuff you want and format as
#end

After you've got that template to the point where it's ready
to be included,
you'll just have to include it in the larger page. You could
use an iframe
or if you've got some classes to pull in arbitrary content,
you could use
that. But, start simple and work from there.

Hopefully this gets you going. If you have other questions,
just ask.

On 12/22/06 5:04 PM, "Raymond Sutton"
<tardisidcomm.com> wrote:

> Hello
> 
> I've just (today) downloaded Blojsom 3.0 & I'm
having a bit of a
> problem with the documentation; I gather this is in the
process of
> being updated for 3.0 and is therefore incomplete/out
of date. Since
> I've no experience of any earlier versions it's hard to
know if a
> problem is the documentation having not caught up or a
ID10T user
> problem!
> 
> What I want to do is drop blojsom into an existing site
while
> preserving it's look and feel (side navigation etc) I
already use
> Tomcat as a web-server and for a limited amount of ajax
via DWR,
> while I have no experience with velocity I'm an
experienced Java
> Developer so what I need is some starting points to
jumpstart my
> understanding of Blojsom and difference between 3.0 and
previous
> versions as they relate to understanding the
documentation,
> especially in the area of configuration/customisation.
> 
> Thanks
> 
> Ray Sutton
> 
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )