You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Matthew Montgomery <Ma...@Sun.COM> on 2007/09/14 20:41:35 UTC

Character Count - About your blog

Hi everyone,

We have many people running into the current 255 character limit of  
the "About your blog" field without realizing it until after  
submission. An RFE was generated to display the current count  
dynamically and captured here.

http://opensource.atlassian.com/projects/roller/browse/ROL-1519

I have some simple JavaScript to handle this. It is currently in  
housed in the WeblogConfig.jsp and I am happy to submit a patch when  
I am done with the rest of ROL-1519, save for the DB change that  
would be needed to up the 255 limit. Couple of comments.

1. Is there a way to pull the current character limit from the model?  
I have 255 hardcoded in there at the moment.

2. I still need to externalize the strings for the label.

Any interest in applying this one to the trunk or shall I maintain it  
externally for blogs.sun.com.


Re: Character Count - About your blog

Posted by Dave <sn...@gmail.com>.
On 9/21/07, Dave Levy <Da...@sun.com> wrote:
> I wonder if this should be extended at all. Here's how I do about me and
> I have many more than 255 characters.
>
> On my Blog, http://blogs.sun.com/DaveLevy, I created an About Me page
> using the edit templates interface. It is at
> http://blogs.sun.com/DaveLevy/page/AboutMe
>
> It is now possible to address a blog article directly, I have not worked
> out how yet, but I propose to move the content text to a blog article
> next time its sensible and reference it in the about me page. (I am also
> toying with attaching an audio file.)
>
> The menu macro displays the hyperlink off the various pages with in the
> blog.
>
> (For those who don't intend to check the site out, I have an aboutme, an
> archive page and a search page in additon to the blog page.)

That's not a bad approach and I use it on rollerweblogger.org
(http://rollerweblogger.org/project/category/About), but it is not as
straight-forward and user-friendly as providing an explicit "about
this blog" field in the UI.

- Dave

Re: Character Count - About your blog

Posted by Dave Levy <Da...@Sun.COM>.
I wonder if this should be extended at all. Here's how I do about me and 
I have many more than 255 characters.

On my Blog, http://blogs.sun.com/DaveLevy, I created an About Me page 
using the edit templates interface. It is at 
http://blogs.sun.com/DaveLevy/page/AboutMe

It is now possible to address a blog article directly, I have not worked 
out how yet, but I propose to move the content text to a blog article 
next time its sensible and reference it in the about me page. (I am also 
toying with attaching an audio file.)

The menu macro displays the hyperlink off the various pages with in the 
blog.

(For those who don't intend to check the site out, I have an aboutme, an 
archive page and a search page in additon to the blog page.)


Matthew Montgomery wrote:
>  
> On Sep 15, 2007, at 9:53 AM, Dave wrote:
>
>> On 9/14/07, Matthew Montgomery <Ma...@sun.com> wrote:
>>> Hi everyone,
>>>
>>> We have many people running into the current 255 character limit of
>>> the "About your blog" field without realizing it until after
>>> submission. An RFE was generated to display the current count
>>> dynamically and captured here.
>>>
>>> http://opensource.atlassian.com/projects/roller/browse/ROL-1519
>>>
>>> I have some simple JavaScript to handle this. It is currently in
>>> housed in the WeblogConfig.jsp and I am happy to submit a patch when
>>> I am done with the rest of ROL-1519, save for the DB change that
>>> would be needed to up the 255 limit. Couple of comments.
>>>
>>> 1. Is there a way to pull the current character limit from the model?
>>> I have 255 hardcoded in there at the moment.
>>>
>>> 2. I still need to externalize the strings for the label.
>>
>> I think 255 characters is too short for an About this blog field.
>>
>> To up the limit in the schema we will have to figure out how to write
>> alter table code that will work with the various databases we support
>> and add that to the 400-to-410 migration script. We'll probably have
>> to write a macro that generates the appropriate SQL for each database.
>
> Longer would be better in the DB. One concern I know we would have is 
> that the themes which support this are designed around 255 visible 
> characters. But, really the display space in the theme should be made 
> flexible enough to support more.
>
> -- 
> Matthew Montgomery
> .Sun Engineering
> Sun Microsystems, Inc.
>
>

-- 

Dave

*David Levy *
*Principal Engineer*
*Sun Microsystems Ltd.*
55, King William St.,
London EC4R 9ND
United Kingdom

	
Phone +44 (0) 20 7469 9908/x18308
Mobile +44 (0) 7710-360922

Blog http://blogs.sun.com/DaveLevy
Email David.Levy@Sun.COM

Sun Proprietary & Confidential . This e-mail message is for the sole use 
of the intended recipient(s) and may contain confidential and priviliged 
information. Any unauthorised review, use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please contact the 
sender by reply e-mail and destroy all copies of the original message.


Re: Character Count - About your blog

Posted by Matthew Montgomery <Ma...@Sun.COM>.
On Sep 15, 2007, at 9:53 AM, Dave wrote:

> On 9/14/07, Matthew Montgomery <Ma...@sun.com> wrote:
>> Hi everyone,
>>
>> We have many people running into the current 255 character limit of
>> the "About your blog" field without realizing it until after
>> submission. An RFE was generated to display the current count
>> dynamically and captured here.
>>
>> http://opensource.atlassian.com/projects/roller/browse/ROL-1519
>>
>> I have some simple JavaScript to handle this. It is currently in
>> housed in the WeblogConfig.jsp and I am happy to submit a patch when
>> I am done with the rest of ROL-1519, save for the DB change that
>> would be needed to up the 255 limit. Couple of comments.
>>
>> 1. Is there a way to pull the current character limit from the model?
>> I have 255 hardcoded in there at the moment.
>>
>> 2. I still need to externalize the strings for the label.
>
> I think 255 characters is too short for an About this blog field.
>
> To up the limit in the schema we will have to figure out how to write
> alter table code that will work with the various databases we support
> and add that to the 400-to-410 migration script. We'll probably have
> to write a macro that generates the appropriate SQL for each database.

Longer would be better in the DB. One concern I know we would have is  
that the themes which support this are designed around 255 visible  
characters. But, really the display space in the theme should be made  
flexible enough to support more.

--
Matthew Montgomery
.Sun Engineering
Sun Microsystems, Inc.



Re: Character Count - About your blog

Posted by Dave <sn...@gmail.com>.
On 9/14/07, Matthew Montgomery <Ma...@sun.com> wrote:
> Hi everyone,
>
> We have many people running into the current 255 character limit of
> the "About your blog" field without realizing it until after
> submission. An RFE was generated to display the current count
> dynamically and captured here.
>
> http://opensource.atlassian.com/projects/roller/browse/ROL-1519
>
> I have some simple JavaScript to handle this. It is currently in
> housed in the WeblogConfig.jsp and I am happy to submit a patch when
> I am done with the rest of ROL-1519, save for the DB change that
> would be needed to up the 255 limit. Couple of comments.
>
> 1. Is there a way to pull the current character limit from the model?
> I have 255 hardcoded in there at the moment.
>
> 2. I still need to externalize the strings for the label.

I think 255 characters is too short for an About this blog field.

To up the limit in the schema we will have to figure out how to write
alter table code that will work with the various databases we support
and add that to the 400-to-410 migration script. We'll probably have
to write a macro that generates the appropriate SQL for each database.

- Dave


- Dave