[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Rassmalog 3.0.0

Suraj Kurapati

3/5/2007 2:18:00 AM

Rassmalog is a static blog engine based on RSS 2.0, YAML,
and Textile. It features an extensible blog formatting
mechanism, easy configuration, and automatic tagging,
archiving, syntax coloring, and table of contents.

Web site: http://rassmalog.rub...


Version 3.0.0

This release adds the ability to use ERB directives in the
text of blog entries, adds translations for various
languages, refines the automatic table of contents, and
improves the obfuscation of email addresses.

Notice

If your blog entries contain the text "<%" (which marks the
beginning of an ERB directive), then you must escape those
markers by adding an extra percentage sign (%), like
this: "<%%". Otherwise, you will get errors from ERB when
you generate your blog.

Details

* Added translation files for various languages.
These translations were made using online services
such as Babel Fish and Systran.

* Wrote better instructions for enabling
translation files.

* Removed numbering of links in table of
contents.

* Made the number of each heading into a link
back to the table of contents. This is very useful
for text-mode browsers.

* The entire URL for sending email comments is
now obfuscated.

* Added Rassmalog version number to generated
output.

* The text fields of blog entries are now treated
as ERB templates (see config/entry.erb for details).

* Moved some logic from ERB templates into
Rassmalogâ??s core.

--
Posted via http://www.ruby-....

12 Answers

Suraj Kurapati

3/6/2007 12:17:00 AM

0

Hello,

There was a small bug in the 3.0.0 release. I've fixed it and uploaded a
new release here:

http://rubyforge.org/frs/?gro...

Version 3.0.1

This release ensures that the generated RSS feed correctly evaluates ERB
directives in the text of blog entries.

Thanks for your attention.

--
Posted via http://www.ruby-....

Suraj Kurapati

3/6/2007 6:48:00 AM

0

Hello,

Since nobody had yet obtained the 3.0.1 release, I secretly took
the opportunity to roll in a few additional fixes and enhancements.
In this manner, 3.0.1 silently mutated into 3.1.0 as follows. :-)

Version 3.1.0

This release fixes the ability to use ERB directives in
the text of blog entries, makes ERB directives behave like
those of PHP, makes auto-generated HTML anchors more human
readable, and corrects the German translation file.

Acknowledgments

Thanks to Josef â??Juppâ?? Schugt for correcting the German
translation file.

Details

* Fixed RSS feed generation so that entry body is
evaluated as an ERB template.

* Incorporated my PHP-like ERB hack to prevent <% ... %>
ERB directives from injecting extraneous newlines into
the generated output.

* Auto-generated HTML anchors (for the table of
contents) now make use of the text of the heading they
refer to. This makes them more human readable than,
say, â??anchor153â?.

Sorry for the confusion and traffic.

--
Posted via http://www.ruby-....

Robert Wagner

3/9/2007 7:47:00 PM

0

oh i like offline generated pages. seems nice. regarding the search
problem: consider integrating a javascript based solution. i googled
that:

http://www.tipue.com/product...

it's GPL.
regards,
robert

2007/3/6, Suraj Kurapati <snk@gna.org>:
> Hello,
>
> Since nobody had yet obtained the 3.0.1 release, I secretly took
> the opportunity to roll in a few additional fixes and enhancements.
> In this manner, 3.0.1 silently mutated into 3.1.0 as follows. :-)
>
> Version 3.1.0
>
> This release fixes the ability to use ERB directives in
> the text of blog entries, makes ERB directives behave like
> those of PHP, makes auto-generated HTML anchors more human
> readable, and corrects the German translation file.
>
> Acknowledgments
>
> Thanks to Josef 'Jupp' Schugt for correcting the German
> translation file.
>
> Details
>
> * Fixed RSS feed generation so that entry body is
> evaluated as an ERB template.
>
> * Incorporated my PHP-like ERB hack to prevent <% ... %>
> ERB directives from injecting extraneous newlines into
> the generated output.
>
> * Auto-generated HTML anchors (for the table of
> contents) now make use of the text of the heading they
> refer to. This makes them more human readable than,
> say, "anchor153".
>
> Sorry for the confusion and traffic.
>
> --
> Posted via http://www.ruby-....
>
>

Josef 'Jupp' Schugt

3/9/2007 10:57:00 PM

0

* Robert Wagner, 09.03.2007 20:47:
> oh i like offline generated pages. seems nice. regarding the
> search problem: consider integrating a javascript based solution.

I do not know about you but when *I* browse the Web I either use a
browser that has no Javascript capability at all or with Javascript
deactivated unless I explicitly switch it on. It is annoying enough
that Web dysdesigners are so sure that using a flash-enabled
webbrowser means that Javascript is activated that they not even
inform the user that a Javascript script is used to detect if one has
a flash-enabled browser.

That the created pages are usable with any browser was an important
reason for my choice to use rassmalog. I do not oppose to include a
Javascript engine but the integration than should be done in a clever
way. My suggestion is as follows:

1. Keep the current search
2. Add a search using javascript
3. Make use of <noscript> in this manner:
a) If Javascript is enabled display
"Search (Javascript enhanced)"
b) If Javascript is disabled display
"Search (no Javascript, deprecate)"
4. Add a small paragraph about why to enable Javascript to the latter
search.
5. On the same page add a piece of Javascript that replaces the page
by the Javascript version of the search.

A site using Javascript is good if and only if the necessities still
work with disabled Javascript. Bells, whistles and eyecandy can rely
on Javascript.

Josef 'Jupp' Schugt
--
Blog available at http://www.mynetcologne.de/~nc-schu...
PGP key with id 6CC6574F available at http://wwwkeys.d...

John Joyce

3/10/2007 12:40:00 AM

0

JavaScript's return as Ajax is often little more than Flash without
Flash.
Both are often little more than annoying and useless.

On Mar 10, 2007, at 7:56 AM, Josef 'Jupp' Schugt wrote:

> * Robert Wagner, 09.03.2007 20:47:
>> oh i like offline generated pages. seems nice. regarding the
>> search problem: consider integrating a javascript based solution.
>
> I do not know about you but when *I* browse the Web I either use a
> browser that has no Javascript capability at all or with Javascript
> deactivated unless I explicitly switch it on. It is annoying enough
> that Web dysdesigners are so sure that using a flash-enabled
> webbrowser means that Javascript is activated that they not even
> inform the user that a Javascript script is used to detect if one has
> a flash-enabled browser.
>
> That the created pages are usable with any browser was an important
> reason for my choice to use rassmalog. I do not oppose to include a
> Javascript engine but the integration than should be done in a clever
> way. My suggestion is as follows:
>
> 1. Keep the current search
> 2. Add a search using javascript
> 3. Make use of <noscript> in this manner:
> a) If Javascript is enabled display
> "Search (Javascript enhanced)"
> b) If Javascript is disabled display
> "Search (no Javascript, deprecate)"
> 4. Add a small paragraph about why to enable Javascript to the latter
> search.
> 5. On the same page add a piece of Javascript that replaces the page
> by the Javascript version of the search.
>
> A site using Javascript is good if and only if the necessities still
> work with disabled Javascript. Bells, whistles and eyecandy can rely
> on Javascript.
>
> Josef 'Jupp' Schugt
> --
> Blog available at http://www.mynetcologne.de/~nc-schu...
> PGP key with id 6CC6574F available at http://wwwkeys.d...
>


Robert Wagner

3/10/2007 1:29:00 AM

0

2007/3/9, Josef 'Jupp' Schugt <jupp@gmx.de>:
> * Robert Wagner, 09.03.2007 20:47:
> > oh i like offline generated pages. seems nice. regarding the
> > search problem: consider integrating a javascript based solution.
>
> I do not know about you but when *I* browse the Web I either use a
> browser that has no Javascript capability at all or with Javascript
> deactivated unless I explicitly switch it on.

so, you're no fun :)

> It is annoying enough
> that Web dysdesigners are so sure that using a flash-enabled
> webbrowser means that Javascript is activated that they not even
> inform the user that a Javascript script is used to detect if one has
> a flash-enabled browser.
>
> That the created pages are usable with any browser was an important
> reason for my choice to use rassmalog. I do not oppose to include a
> Javascript engine but the integration than should be done in a clever
> way. My suggestion is as follows:
>
> 1. Keep the current search

but tell people about <strg><f> and it's actually a search

> 2. Add a search using javascript
> 3. Make use of <noscript> in this manner:
> a) If Javascript is enabled display
> "Search (Javascript enhanced)"
> b) If Javascript is disabled display
> "Search (no Javascript, deprecate)"
> 4. Add a small paragraph about why to enable Javascript to the latter
> search.
> 5. On the same page add a piece of Javascript that replaces the page
> by the Javascript version of the search.
>
> A site using Javascript is good if and only if the necessities still
> work with disabled Javascript. Bells, whistles and eyecandy can rely
> on Javascript.
>

nevermind.

> Josef 'Jupp' Schugt
> --
> Blog available at http://www.mynetcologne.de/~nc-schu...
> PGP key with id 6CC6574F available at http://wwwkeys.d...
>
>
>

Robert Wagner

3/10/2007 1:33:00 AM

0

2007/3/10, John Joyce <dangerwillrobinsondanger@gmail.com>:
> JavaScript's return as Ajax is often little more than Flash without
> Flash.
> Both are often little more than annoying and useless.
>

me hates animations. js or flash. skipskipskip.

Suraj Kurapati

3/10/2007 2:36:00 AM

0

Hi,

Josef 'Jupp' Schugt wrote:
> * Robert Wagner, 09.03.2007 20:47:
>> oh i like offline generated pages. seems nice. regarding the
>> search problem: consider integrating a javascript based solution.
>
> the integration than should be done in a clever
> way. My suggestion is as follows:
>
> 1. Keep the current search
> 2. Add a search using javascript
> 3. Make use of <noscript> in this manner:
> a) If Javascript is enabled display
> "Search (Javascript enhanced)"
> b) If Javascript is disabled display
> "Search (no Javascript, deprecate)"
> 4. Add a small paragraph about why to enable Javascript to the latter
> search.
> 5. On the same page add a piece of Javascript that replaces the page
> by the Javascript version of the search.

I like this idea and will try to implement something along these lines.
I will also remind (although it may be considered offensive to be
reminded of such basic operations -- like someone telling you how
shoelaces are tied) the reader gently about using their browser's search
mechanism, be it <control><f> or <forward-slash>. I will also state
clearly that the "search" page is really just an exhaustive listing of
the content of all entries available on the blog.

Thank you all for your suggestions.

P.S. It may be a few weeks before I get around to implementing these
things (final exams are approaching), so feel free to submit a patch if
you're able. :-)

--
Posted via http://www.ruby-....

Suraj Kurapati

3/25/2007 9:02:00 AM

0

Suraj Kurapati wrote:
> Josef 'Jupp' Schugt wrote:
>> * Robert Wagner, 09.03.2007 20:47:
>>> regarding the
>>> search problem: consider integrating a javascript based solution.
>>
>> the integration than should be done in a clever
>> way. My suggestion is as follows:
>>
>> 1. Keep the current search
>> 2. Add a search using javascript
>> 3. Make use of <noscript> in this manner:
>> a) If Javascript is enabled display
>> "Search (Javascript enhanced)"
>> b) If Javascript is disabled display
>> "Search (no Javascript, deprecate)"
>> 4. Add a small paragraph about why to enable Javascript to the latter
>> search.
>> 5. On the same page add a piece of Javascript that replaces the page
>> by the Javascript version of the search.

I evaulated Tipue and several other JavaScript search engines, and Tipue
seems to be the best choice because it does not require prior
preprocessing (indexing) of the data to be searched.

However, when I integrated Tipue, it did not seem to offer a huge
advantage over the browser's internal search mechanism. For instance, it
doesn't implement any query relaxation -- I'm thinking of edit-distance
and Soundex algorithms -- so it's hard to find something unless you know
exactly how it is spelled beforehand.

With the browser's search mechanism, you get to see a much larger
context of a match whilst searching. In contrast, search engines strip
away much of the context, which is useful in situations like this --
where you're manually scanning for something that resembles what you're
actually looking for.

> I will also remind (although it may be considered offensive to be
> reminded of such basic operations -- like someone telling you how
> shoelaces are tied) the reader gently about using their browser's search
> mechanism, be it <control><f> or <forward-slash>.

I decided to omit such a reminder, simply because it might seem
offensive.

> I will also state
> clearly that the "search" page is really just an exhaustive listing of
> the content of all entries available on the blog.

I have done this with great reluctance, because it caused the addition
of yet another template file (config/index.erb), in the new 3.2.0
release.

--
Posted via http://www.ruby-....

pnyikos

12/10/2010 10:22:00 PM

0

On Dec 6, 10:55 am, "( ` . Craig Chilton . ) <http://
www.LayoffRemedy.com>" <x...@m.com> wrote:
> On Wed, 1 Dec 2010 15:09:39 -0800 (PST),
> Peter Nyikos (pnyikos) <nyik...@bellsouth.net> wrote:
>
> [ ... ]
>
> >      Back to you, Jon:  if you could document some palpable dishonesty
> > or hypocrisy by Chilton himself, that WOULD save me a lot of time and
> > trouble.
>
>     Since I NEVER engage in *either* of those moronic practices in my
> posts, THAT'S not ever gonna happen.

You did against me, almost exactly a year ago. Then, when I pointed
it out, you conveniently disappeared, while "Lefty" did a masterly job
of pinch-hitting for you, but in the end even he couldn't make it look
like you did not indulge in dishonesty.

I told you about that on another thread, how you moved statements by
me to make it look like I was referring to something else, then
exploited your dishonest move to the hilt.

Another example: you kept up with massive innuendo to the effect that
I had claimed that the "Daddy Dick" post was by you.

>     Which begs the question of WHY you could possibly *want* to
> take "a lot of time and trouble" to TRY.   ?????????

Because I caught you, and I expect to catch you again, but unlike with
some people, the examples are few and far between.

Peter Nyikos