#1 Multiple star images

closed-accepted
nobody
devel (5)
5
2001-03-22
2001-03-20
caleb crome
No

Here's a simple, one line patch that allows users to
use multiple star images, one for each number
of 'stars' or each quality of match.

You can create max_stars distinct images, which
look like anything you want them to. Can be a
rocket, progress bar, or even a little guy
clapping to show your the quality of the match.

Some images I used to test this patch are at:

http://www.sfgate.com/templates/types/entertainment/gra
phics/littleman/1.0.gif
http://www.sfgate.com/templates/types/entertainment/gra
phics/littleman/2.0.gif
http://www.sfgate.com/templates/types/entertainment/gra
phics/littleman/3.0.gif
http://www.sfgate.com/templates/types/entertainment/gra
phics/littleman/4.0.gif
http://www.sfgate.com/templates/types/entertainment/gra
phics/littleman/5.0.gif

Here's my littleguys.html which will show
these little guys as a match quality:

---- common/littleguys.html ----
<dl><dt><strong><a href="$&(URL)">$&(TITLE)
</a></strong><img
src="/images/htdig/guy$(NSTARS).gif">
</dt><dd>$(EXCERPT)<br>
<i><a href="$&(URL)">$&(URL)</a></i>
<font size="-1">$(MODIFIED), $(SIZE) bytes</font>
</dd></dl>
---- end littleguys.html

Discussion

  • Geoff Hutchison

    Geoff Hutchison - 2001-03-22
    • labels: --> devel
    • status: open --> closed-accepted
     
  • Geoff Hutchison

    Geoff Hutchison - 2001-03-22

    Logged In: YES
    user_id=21420

    I'm putting this into the 3.2 tree right now since it fixes
    one of the feature requests.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks