|
List Info
Thread: Re: Multiple categories for a post
|
|
| Re: Multiple categories for a post |
  Canada |
2007-09-11 22:56:43 |
|
|
Well, so far so good. I made a round trip to
the admin interface and created a post associated with several categories, with
updates to my new join table (ENTRY_CATEGORY).
I broke a few things along the way, in
particular the "friendly permalink" (url of the
form $blog_url/category/post), which is used by the ShowMeMore plugin (and
perhaps others?).
The "friendly permalink" restricts a post to only
one category. Can anyone tell me
why this form of permalink is used? Why does the category have to
part of the url?
Why not just point directly to the post
($blog_url/post-slug) ?
I am thinking of modifying the semantics
of friendly permalink to be $blog_url/post-slug, which would meet my
client's requirement for urls of the form http://ourcompany.com/message.
Again, any advice would be welcome!
----- Original Message -----
Sent: Tuesday, September 11, 2007 5:30 PM
Subject: [Blojsom-developers] Multiple categories for a
post
Hi,
Any advice would be
appreciated! I am looking at the possibility of modifying blojsom to
support multiple categories for a post (like
Wordpress)
Roughly, I think I need
to:
Add a join table to the
database ENTRY_CATEGORY
Modify the ENTRY and
CATEGORY to point to this new join table
Modify the Hibernate
mappings
Modify the
DataBaseEntry and Category objects
Modify
DatabaseFetcher
Modify Template pages
asual-entry.vm, asual-column
Modify Admin page to
allow selection of more that one category when adding a
post
Ingo
De :
blojsom-developers-bounces lists.sourceforge.net
[mailto:blojsom-developers-bounces lists.sourceforge.net] De la part de Ingo Jobling Envoyé : 8 septembre 2007
23:07 À :
blojsom-developers lists.sourceforge.net Objet : Re: [Blojsom-developers]
Accents with WebSphere (UTF-8)
Thanks, it was my fault, Blojsom and
Websphere work fine with accents. I had written a new plugin, at the head
of the chain, which was doing an httpServletRequest.getParameter. I
neglected to set the servletEncoding to "UTF-8" before doing
the getParameter, and this had the effect of setting the input reader
to "ISO-8859". So, after the other filters, each setting servlet character
encoding to UTF-8, had executed, I ended up with a servlet that had
character encoding ="UTF-8" and inputReader encoding as
"ISO-8859".
Oh well, another lesson
learned.
----- Original Message -----
Sent: Wednesday,
September 05, 2007 9:04 AM
Subject: Re:
[Blojsom-developers] Accents with WebSphere
(UTF-8)
This article may have some options
for you to tweak.
<http://www-306.ibm.com/software/globalization/j2ee/encoding.jsp>
On
9/4/07 11:47 PM, "Ingo Jobling" <videotron.ca">ingo.jobling videotron.ca>
wrote:
I am running Blojsom on Websphere and
am having problems with accents. Garbage is displayed in blog entries,
urls aren't encoded properly,and search doesn't work.
I was pleasantly
surprised to see that accents work perfectly with Tomcat.
I gather that it has
something to do with the response not being encoded in UTF-8, and I have googled
up a list of things to check.
Has anyone else
encountered similiar problems?
We are going live on
Monday and I have to figure this out fast (or maybe I should just start working
on my CV 
------------------------------------------------------------------------- This
SF.net email is sponsored by: Splunk Inc. Still grepping through log files to
find problems? Stop. Now Search log events and configuration files
using AJAX and a browser. Download your FREE copy of Splunk now >>
http://get.splunk.com/
_______________________________________________ Blojsom-developers
mailing
list Blojsom-developers lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/blojsom-developers
--
David Czarnecki
http://www.blojsom.com/blog/ | http://blojsom.sf.net
------------------------------------------------------------------------- This
SF.net email is sponsored by: Splunk Inc. Still grepping through log files to
find problems? Stop. Now Search log events and configuration files
using AJAX and a browser. Download your FREE copy of Splunk now
>> http://get.splunk.com/
_______________________________________________ Blojsom-developers
mailing
list Blojsom-developers lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/blojsom-developers
------------------------------------------------------------------------- This
SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)
Visual Studio
2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Blojsom-developers
mailing
list Blojsom-developers lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/blojsom-developers
|
| Re: Multiple categories for a post |
  United States |
2007-09-24 13:33:00 |
|
There̵7;s a macro called DatelessFriendlyPermalink that can be used in the same way as FriendlyPermalink.
On 9/11/07 11:56 PM, "Ingo Jobling" <ingo.jobling videotron.ca> wrote:
Well, so far so good. I made a round trip to the admin interface and created a post associated with several categories, with updates to my new join table (ENTRY_CATEGORY).
I broke a few things along the way, in particular the "friendly permalink" (url of the form $blog_url/category/post), which is used by the ShowMeMore plugin (and perhaps others?).
The "friendly permalink" restricts a post to only one category. Can anyone tell me why this form of permalink is used? Why does the category have to part of the url?
Why not just point directly to the post ($blog_url/post-slug) ?
I am thinking of modifying the semantics of friendly permalink to be $blog_url/post-slug, which would meet my client's requirement for urls of the form http://ourcompany.com/message.
Again, any advice would be welcome!
----- Original Message -----
From: Jobling Ingo Ingo.Jobling loto-quebec.com"><mailto:Ingo.Jobling loto-quebec.com>
To: blojsom-developers lists.sourceforge.net
Sent: Tuesday, September 11, 2007 5:30 PM
Subject: [Blojsom-developers] Multiple categories for a post
Hi,
Any advice would be appreciated! I am looking at the possibility of modifying blojsom to support multiple categories for a post (like Wordpress)
Roughly, I think I need to:
Add a join table to the database ENTRY_CATEGORY
Modify the ENTRY and CATEGORY to point to this new join table
Modify the Hibernate mappings
Modify the DataBaseEntry and Category objects
Modify DatabaseFetcher
Modify Template pages asual-entry.vm, asual-column
Modify Admin page to allow selection of more that one category when adding a post
Ingo
De : blojsom-developers-bounces lists.sourceforge.net [ blojsom-developers-bounces lists.sourceforge.net]">mailto:blojsom-developers-bounces lists.sourceforge.net] De la part de Ingo Jobling
Envoyé : 8 septembre 2007 23:07
À : blojsom-developers lists.sourceforge.net
Objet : Re: [Blojsom-developers] Accents with WebSphere (UTF-8)
Thanks, it was my fault, Blojsom and Websphere work fine with accents. I had written a new plugin, at the head of the chain, which was doing an httpServletRequest.getParameter. I neglected to set the servletEncoding to "UTF-8" before doing the getParameter, and this had the effect of setting the input reader to "ISO-8859". So, after the other filters, each setting servlet character encoding to UTF-8, had executed, I ended up with a servlet that had character encoding ="UTF-8" and inputReader encoding as "ISO-8859".
Oh well, another lesson learned.
----- Original Message -----
From: David Czarnecki david blojsom.com"><mailto:david blojsom.com>
To: blojsom developers blojsom-developers lists.sourceforge.net"><mailto:blojsom-developers lists.sourceforge.net>
Sent: Wednesday, September 05, 2007 9:04 AM
Subject: Re: [Blojsom-developers] Accents with WebSphere (UTF-8)
This article may have some options for you to tweak.
<http://www-306.ibm.com/software/globalization/j2ee/encoding.jsp> <http://www-306.ibm.com/software/globalization/j2ee/encoding.jsp%3e>
On 9/4/07 11:47 PM, "Ingo Jobling" <ingo.jobling videotron.ca> wrote:
I am running Blojsom on Websphere and am having problems with accents. Garbage is displayed in blog entries, urls aren't encoded properly,and search doesn't work.
I was pleasantly surprised to see that accents work perfectly with Tomcat.
I gather that it has something to do with the response not being encoded in UTF-8, and I have googled up a list of things to check.
Has anyone else encountered similiar problems?
We are going live on Monday and I have to figure this out fast (or maybe I should just start working on my CV 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-developers
--
David Czarnecki
http://www.blojsom.com/blog/ | http://blojsom.sf.net
|
| Re: Multiple categories for a post |
  United States |
2007-09-24 13:33:45 |
|
It’d be nice to see this in action in the form of any patches. Thanks in advance.
On 9/11/07 11:56 PM, "Ingo Jobling" <ingo.jobling videotron.ca> wrote:
Well, so far so good. I made a round trip to the admin interface and created a post associated with several categories, with updates to my new join table (ENTRY_CATEGORY).
I broke a few things along the way, in particular the "friendly permalink" (url of the form $blog_url/category/post), which is used by the ShowMeMore plugin (and perhaps others?).
The "friendly permalink" restricts a post to only one category. Can anyone tell me why this form of permalink is used? Why does the category have to part of the url?
Why not just point directly to the post ($blog_url/post-slug) ?
I am thinking of modifying the semantics of friendly permalink to be $blog_url/post-slug, which would meet my client's requirement for urls of the form http://ourcompany.com/message.
Again, any advice would be welcome!
----- Original Message -----
From: Jobling Ingo Ingo.Jobling loto-quebec.com"><mailto:Ingo.Jobling loto-quebec.com>
To: blojsom-developers lists.sourceforge.net
Sent: Tuesday, September 11, 2007 5:30 PM
Subject: [Blojsom-developers] Multiple categories for a post
Hi,
Any advice would be appreciated! I am looking at the possibility of modifying blojsom to support multiple categories for a post (like Wordpress)
Roughly, I think I need to:
Add a join table to the database ENTRY_CATEGORY
Modify the ENTRY and CATEGORY to point to this new join table
Modify the Hibernate mappings
Modify the DataBaseEntry and Category objects
Modify DatabaseFetcher
Modify Template pages asual-entry.vm, asual-column
Modify Admin page to allow selection of more that one category when adding a post
Ingo
De : blojsom-developers-bounces lists.sourceforge.net [ blojsom-developers-bounces lists.sourceforge.net]">mailto:blojsom-developers-bounces lists.sourceforge.net] De la part de Ingo Jobling
Envoyé : 8 septembre 2007 23:07
À : blojsom-developers lists.sourceforge.net
Objet : Re: [Blojsom-developers] Accents with WebSphere (UTF-8)
Thanks, it was my fault, Blojsom and Websphere work fine with accents. I had written a new plugin, at the head of the chain, which was doing an httpServletRequest.getParameter. I neglected to set the servletEncoding to "UTF-8" before doing the getParameter, and this had the effect of setting the input reader to "ISO-8859". So, after the other filters, each setting servlet character encoding to UTF-8, had executed, I ended up with a servlet that had character encoding ="UTF-8" and inputReader encoding as "ISO-8859".
Oh well, another lesson learned.
----- Original Message -----
From: David Czarnecki david blojsom.com"><mailto:david blojsom.com>
To: blojsom developers blojsom-developers lists.sourceforge.net"><mailto:blojsom-developers lists.sourceforge.net>
Sent: Wednesday, September 05, 2007 9:04 AM
Subject: Re: [Blojsom-developers] Accents with WebSphere (UTF-8)
This article may have some options for you to tweak.
<http://www-306.ibm.com/software/globalization/j2ee/encoding.jsp> <http://www-306.ibm.com/software/globalization/j2ee/encoding.jsp%3e>
On 9/4/07 11:47 PM, "Ingo Jobling" <ingo.jobling videotron.ca> wrote:
I am running Blojsom on Websphere and am having problems with accents. Garbage is displayed in blog entries, urls aren't encoded properly,and search doesn't work.
I was pleasantly surprised to see that accents work perfectly with Tomcat.
I gather that it has something to do with the response not being encoded in UTF-8, and I have googled up a list of things to check.
Has anyone else encountered similiar problems?
We are going live on Monday and I have to figure this out fast (or maybe I should just start working on my CV 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-developers
--
David Czarnecki
http://www.blojsom.com/blog/ | http://blojsom.sf.net
|
[1-3]
|
|