List Info

Thread: URL Change & blog description page




URL Change & blog description page
user name
2006-07-08 15:27:14


On 7/8/06 5:38 AM, "Graham Reeds"
<grahamrntlworld.com> wrote:

> How do you go about changing the url in the path? 
I've seen you do it
> on your personal blog and would like to do it for
myself. For instance:
>   I would like htt
p://www.company.com/blogs/<person.name>/ as the
blog
> path for the users blogs.

For Tomcat, all you'd need to do would be:

1. Install blojsom in the ROOT web application context.
You'll find that
under %TOMCAT_HOME%/webapps/ROOT. Just delete all the crap
that's already
there if it exists, or create that directory if it doesn't.
Then just move
all the files and directories from
%TOMCAT_HOME%/webapps/blojsom into ROOT.

2. Next, you'd have to change the servlet mapping in
blojsom's
/WEB-INF/web.xml file so that requests to blojsom are made
through blogs and
not blog.

Change this:

     <servlet-mapping>
        <servlet-name>blojsom</servlet-name>
        <url-pattern>/blog/*</url-pattern>
    </servlet-mapping>

to:

     <servlet-mapping>
        <servlet-name>blojsom</servlet-name>
        <url-pattern>/blogs/*</url-pattern>
    </servlet-mapping>

3. Now just change the blog URL properties appropriately.

> 
> Also is it possible to have a blojsom create a page
that has a list of
> blogs, the blog description and a snippet of the last
post made?  So if
> I had two workers called foo and bar a page would be
made at:
> http://www.company.com/
blogs/ which would give an overview of foo and
> bar's blogs. Could that be done as another blog with
specialist settings
> (ie no direct postings but pulling the last one from
each blog?)

For post 3.0, I was thinking of having it so that if a blog
ID wasn't
explicitly requested and there was not default blog ID
specified in the
configuration, that it'd do something similar.

> 
> 
> Thanks, Graham Reeds.
> 
> 
> Using Tomcat but need to do more? Need to support web
services, security?
> Get stuff done quickly with pre-integrated technology
to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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



Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1]

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