Hi Gaurav,

On Nov 25, 2013, at 1:46 AM, Gaurav wrote:

> Hello,
> 
> I have implemented the change successfully and tested it. Thanks for helping.
> Also during the build of the project, I found build failure due to error in 
> the pom.xml of roller_5.0.1
> 
> pom.xml
> 
> <repository>
>    <id>guice</id>
> <url>http://guice-maven.googlecode.com/svn/trunk/</url>
> </repository>
> 
> The url given is not found and gives 404 error. I have fixed this for my 
> local by commenting this repository and replace with this
> 
> <repository>
>    <id>thirdparty-uploads</id>
>    <name>JBoss Thirdparty Uploads</name>
> <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads</url>
> </repository>
> 
> If its an issue and have to be fixed, then I so eager to commit this. If so, 
> Please tell me how I can commit this.

Best to file a JIRA and attach a patch that can be applied by one of the 
committers on the project.

One JIRA for each separate issue will help.

Regards,

Craig
> 
> Thanks
> Gaurav
> 
> On Monday 25 November 2013 09:46 AM, Glen Mazza wrote:
>> Haven't tested it yet, but it looks like the only change in either 5.0.x or 
>> 5.1 is in class WeblogEntry, method createAnchorBase(), just change the 
>> underscore in this line to a hyphen:  tmp = (tmp == null) ? s : tmp + "_" + 
>> s; then rebuild Roller.
>> 
>> Glen
>> 
>> On 11/24/2013 12:12 AM, Glen Mazza wrote:
>>> I haven't looked yet for 5.1, it will probably be the same class(es) in 
>>> 5.0.x, check Roller commits list for when it's done (don't know when I or 
>>> someone else will be able to get to it, we're a volunteer effort.)
>>> 
>>> Glen
>>> 
>>> On 11/23/2013 10:29 PM, Gaurav Saini wrote:
>>>> Hello Glen,
>>>> 
>>>> It will be great that we should introduce this in roller 5.1 but what about
>>>> the roller 5.0 users, as I am using roller 5.0 and just have completly
>>>> integrated in my another application so how I should go, I am finding the
>>>> solution for the urls with dashes so that i can finally make it live.
>>>> 
>>>> So, what Can I do to implement it in roller 5.0, If there are to be changes
>>>> in code I can customize for my application.
>>>> 
>>>> Thanks
>>>> Gaurav
>>>> On Nov 23, 2013 6:56 PM, "Glen Mazza" <[email protected]> wrote:
>>>> 
>>>>> Hi Gaurav, thanks for looking at Roller.  Yes, it looks like Roller needs
>>>>> updating here, as most blogging-like tools are now on hyphens:
>>>>> 
>>>>> Wordpress:
>>>>> http://blog.arungupta.me/2013/11/glassfish-commercial-is-
>>>>> dead-wildfly-and-jboss-eap-to-rescue/
>>>>> 
>>>>> Blogger:
>>>>> http://owulff.blogspot.com/2013/11/apache-cxf-fediz-110-released.html
>>>>> 
>>>>> Stack Overflow:
>>>>> http://stackoverflow.com/questions/20146549/compile-
>>>>> method-of-expressiontdelegate-makes-fatal-error-on-android
>>>>> 
>>>>> Confluence (exception, uses +):
>>>>> https://cwiki.apache.org/confluence/display/CXF/Commercial+CXF+Offerings 
>>>>> 
>>>>> And Google, at least as of 2011, recommends using hyphens for new webpages
>>>>> (but does not see much value in switching over if one is already on
>>>>> underscores, as the SEO gain is not much):
>>>>> http://www.youtube.com/watch?v=AQcSFsQyct8
>>>>> 
>>>>> Team:  I think what we should do, starting with Roller trunk (5.1), is
>>>>> default to hyphens but add a roller.properties setting allowing admins to
>>>>> revert to the 5.0.x and earlier default of underscores if they wish:  (For
>>>>> simplicity and blog server consistency, I think this should be an
>>>>> admin-only and not a blog-specific setting.)
>>>>> 
>>>>> # Roller 5.1 now separates words in blog URLs using hyphens.
>>>>> # Enable below to revert to pre-5.1 underscore separators
>>>>> rendering.use.underscore.separator=false
>>>>> 
>>>>> (better suggestions for property name welcome but it looks like this
>>>>> particular property should be in the "rendering." section of the prop 
>>>>> file,
>>>>> hence that prefix.)
>>>>> 
>>>>> Migrations from older Roller versions to Roller 5.1 will keep the
>>>>> underscores for old blog entries (again, for simplicity & so links to them
>>>>> don't go dead) but use hyphens for new entries unless the above property 
>>>>> is
>>>>> set to "true".  (Anyone aware of other potential hiccups, i18n'ed URLs
>>>>> perhaps, with switching to hyphens?)  WDYT?
>>>>> 
>>>>> Regards,
>>>>> Glen
>>>>> 
>>>>> On 11/23/2013 02:31 AM, Gaurav wrote:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> As the url in roller are made with underscore in it, Is there a way so
>>>>>> that I can change that with dash. As for a new website it will be 
>>>>>> difficult
>>>>>> as google also suggest for using URL with dashes rather than underscore.
>>>>>> 
>>>>>> *Example**:* [1] to [2]
>>>>>> 
>>>>>> What will the best way to do this ? I was thinking of doing it in
>>>>>> urlrewrite or if possible I can change some lines in code.
>>>>>> 
>>>>>> [1] - www.yyy.com/blog/xyz/*test_blog
>>>>>> *[2] -**www.yyy.com/blog/xyz/*test-blog
>>>>>> 
>>>>>> *
>>>>>> 
>>>>> 
>>> 
>> 
> 
> 
> -- 
> Regards,
> *Gaurav Saini*
> /Developer, Digital Marketing and Pursuing B.Tech/
> /Viithiisys Technologies/
> /Email: [email protected], [email protected]/
> /Mobile: +91-9915346686/

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!

Reply via email to