It is currently November 29th, 2020, 7:40 pm

Some actual quotes

Share and get help with Plugins and Addons
R_H
Posts: 1
Joined: June 18th, 2014, 11:04 pm

Some actual quotes

Post by R_H »

Hey folks,

so I wanted to give Raimeter a go and decided to try and create a plugin.
Turned out to be a "Quotes" plugin (note: not to be confused with the native Quote.dll. This one will bring a random quote off the Interwebs onto your desktop).

Sample:


Usage: Double-click to get a new quote.

Recommended basic code:

Code: Select all

[measureQuote]
Measure=Plugin
Plugin=Quotes.dll
URL=http://www.iheartquotes.com/api/v1/random?format=text&max_lines=1&max_characters=120&show_source=false&show_permalink=false

[meterQuote]
Meter=STRING
MeasureName=measureQuote
Text="%1"
LeftMouseDoubleClickAction=[!Refresh]
Change the URL to whatever API you want (or adapt the parameters to your liking; You can find the documentation of the API I used here)

I included a sample configuration (as seen in the image) in the .zip.

PS: I'm aware that this could surely be achieved in another, possibly easier way (afaik there's a WebParser?), but I mostly did it for the sake of creating a plugin.

Regards
You do not have the required permissions to view the files attached to this post.