Hi Alex,
Changing the permalink is quite straightforward, you just need to edit
the following class:
org.apache.roller.weblogger.pojos.WeblogEntry
and change this:
public String createAnchorBase() {
...
tmp = (tmp == null) ? s : tmp + "_" + s;
...
}
to this:
public String createAnchorBase() {
...
tmp = (tmp == null) ? s : tmp + "-" + s;
...
}
Apparently hyphens are more SEO friendly... so I've been told.
Cheers,
Richard
2008/6/26 Alex Coles <[EMAIL PROTECTED]>:
> On Wed, Jun 25, 2008 at 6:32 AM, Richard Jones <[EMAIL PROTECTED]> wrote:
>> Hi Alex,
>>
>> The way we create new themes is to work with a "custom" theme. All we
>> do is take an existing theme, customize it (which copies the theme
>> templates into the database), then through the Roller UI we can edit
>> each template in-turn and the changes take effect immediately. Also,
>> any stylesheets we use are also kept in a page template... that way we
>> can make changes to the styles immediately too. Normally we would
>> have the static HTML mock of the theme already made-up with
>> Dreamweaver (or whatever you use), and it's just a case of splitting
>> that up into the various templates and getting it working and
>> displaying right. Once we're happy with the theme, we take each of
>> the page templates from the Roller UI and copy them into the themes
>> directory.
>>
>> Hope that makes sense.
>>
>> Cheers,
>>
>> Richard
>>
>
> Hi Richard,
>
> Thanks for your message. Its must appreciated! Of course, as with most
> designs, its best to start with mockups (wireframes -> static HTML). I
> am already doing that -- I just want to another stage in the process,
> which is to test with velocity markup added and rendered.
>
> I'd still prefer to be able to do this with the themes in file format,
> so I can take advantage of version control (since that's where my
> themes will end), but your suggestion sounds like a good workaround.
>
> OFF-TOPIC, but I was wondering how you've achieved hyphens rather than
> underscores in your permalinks on pixyblog? I have a preference for
> the former. If its not under NDA, I'd love to know how!
>
> Cheers,
>
> Alex
>
>