Counters - Graphite

Description: You give Graphite a website and a number on that site, and it will track and graph changes to that number over time.
Author: scottreynen
Version: 0.5
New in v0.5: Support for decimal numbers.
Uploaded on: October 24th 2005 at 8:59 AM
Rating: (4.33 stars)   [Show Detailed Ratings]
Downloads: 434 (all versions), 246 (this version)
    Download Now »

Comments

Sort

Mind explaining exactly how to use it? =)

Posted by: SiliconX on Oct 03, 05 (5:32 AM) for version 0.3b (previous version)  

The easiest way to use it:

- open a site in Safari with a number you want to graph
- go to the back of the widget (click the 'i')
- click 'Discover URL' to get the site's address
- click 'Discover Text' to get a list of all the numbers
- click on the number to set the search text
- click 'Done'

That's it. The widget will check the number value and graph it over time.

Posted by: scottreynen (developer) on Oct 03, 05 (6:16 AM) for version 0.3b (previous version)  

There´s no list of numbers when I click "Discover Text"…

Good Idea for a widget… just a little complicated…

Posted by: Dingo on Oct 03, 05 (2:18 PM) for version 0.3b (previous version)   View Detailed Rating

Yeah, all "Discover Text" does for me is change the color.

Posted by: SiliconX on Oct 03, 05 (4:25 PM) for version 0.3b (previous version)  

me too
give it Aqua graphics!

Posted by: IanTheMacFan on Oct 04, 05 (1:14 AM) for version 0.3b (previous version)  

I'm sorry so many have been having trouble with it. If anyone could give me more information about what websites they are using when the numbers fail, that would be useful for fixing it.

I'm not sure what "give it Aqua graphics" means.

Posted by: scottreynen (developer) on Oct 04, 05 (4:01 AM) for version 0.3b (previous version)  

Well how about giving a Web site it does work with (for you the developer) so we could all try and verify this is not something we are getting wrong? I cannot get any site to work so it is pointless to give you just one. The discover text only changes colour and nothing ever is listed in the boxes. It could be there is something you have on your machine that allows it to work.

Or we are all guessing at the capability of this widget a bit because we cannot yet see what it can do.

Give it Aqua graphics means mac it look more like MacOS X interface, '3D' glass buttons and brushed metal etc.

I really want this to work as I want a neat widget to show the historical utilisation of some remote beowulf cluster without the need to use a browser.

Posted by: GCactus on Oct 04, 05 (4:23 PM) for version 0.3b (previous version)  

I have identified the bug that is making the numbers fail, and will try to release a fixed version later today. If you'd like to use it before then, you can create a 'Graphite' directory in your Library/Application Support/ folder, which should make it work.

Posted by: scottreynen (developer) on Oct 04, 05 (4:53 PM) for version 0.3b (previous version)  

Bingo! It works!

Posted by: SiliconX on Oct 04, 05 (5:05 PM) for version 0.3b (previous version)  

a truly brilliant idea

Posted by: gernvomstern on Oct 05, 05 (2:21 AM) for version 0.3b (previous version)   View Detailed Rating

It's really not often that someone comes up with such an original idea for a widget. Very impressive! Very original! Can't wait to see how it evolves. Great job ScottReynen!

Posted by: dbj1000 on Oct 05, 05 (8:38 AM) for version 0.3b (previous version)   View Detailed Rating

Why Aqua Graphics?

I thought it was named Graphite?

So here you have a graphite skin:

Preview Background:
http://img62.imageshack.us/img62/5826/graphitepreview5hm.png

Real Background
http://img397.imageshack.us/img397/221/graphiteempty7bp.png


Feel free to use it!

Da_Vinci

BTW: Brilliant Idea!

Posted by: Da_Vinci on Oct 06, 05 (8:47 PM) for version 0.4b (previous version)   View Detailed Rating

When I click "Discover Text," not all the numbers appear. Is there a limit as to how many will show in the list? If so, how do I go about manually assigning a number on a page?

Posted by: SiliconX on Oct 07, 05 (8:51 PM) for version 0.4b (previous version)   View Detailed Rating

There is no limit on how many numbers, but it doesn't show any numbers within HTML tags. This is to keep it simple, as otherwise a single page could easily have hundreds of meaningless numbers that don't actually appear on the page as displayed in a browser.

You can edit the 'Pre Text' and 'Post Text' fields yourself to match any number not found through discovery, but it's a bit more complicated. Those fields should contain enough text from the raw HTML source for the script to find the number. For example, if you're looking at the number '42' on a page, and you look at the source of that page, you might see something like this:

<input type="text" name="answer" value="42" />

In that case, your Pre Text might be something like so:

<input type="text" name="answer" value="

And your Post Text could be something like so:

" />

When it looks for the number on the page, it finds the Pre Text, then the Post Text, and whatever is between the two is used as the number. I hope this helps. If not, feel free to send me the website address and the number you're looking to graph and I can track down a Pre Text and Post Text that work.

Posted by: scottreynen (developer) on Oct 08, 05 (2:09 AM) for version 0.4b (previous version)  

Awesome, thanks a bunch, got it to work.

Posted by: SiliconX on Oct 25, 05 (5:47 AM) for version 0.5 (current version)  

@scottreynen: "I'm not sure what "give it Aqua graphics" means."

Tutorial on aqua graphics: http://www.iheartny.com/howto_01.html

Posted by: IanTheMacFan on Oct 27, 05 (12:41 AM) for version 0.5 (current version)  

You Must Log In to Post Comments

 
Username:
Password:
Remember Me
Create an account | Password Reminder