Humanist Quote Plasmoid

Plasma 4 Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

12
Become a Fan
5.8

Description:
Quotes from wikiquote.org
Last changelog:

- added slider to make font bigger or smaller
- added link to generate another random quote or by author


Ratings & Comments

31 Comments

perspectoff

Ok, sorry. Besides, I just found out about the time-honored Fortune *nix utility and the Fortunoid Plasma Widget which is a front end for it. Fortune has lots and lots of quotation modules already. In addition, even Drupal and Wordpress have plugins for Fortune. It is not very difficult to write a script to make Wikiquote pages into Fortune modules. In Linux, it is never worthwhile to reinvent the wheel. (Buddha might not be the greatest, in some opinions, but he is the most often quoted. Many now believe that Jesus may have been significantly influenced by Jewish traders from Ashoka's India, where Buddha's aphorisms were widely repeated.)

perspectoff

This is a great idea, but too limited in implementation. Why just atheist quotes, and then by only a few selected authors? The greatest atheist of all time was the Buddha, yet there are no quotes by him. Wikiquotes is a fabulous resource, and there are much more interesting quotes there than the ones selected by this module. Why not just add an option to display any page (or collection of pages) from Wikiquotes? For the most part, Wikiquotes uses <li> lists, so the script is relatively easy to implement. I like the other suggestions of implementing a time setting (in which to rotate quotations). Also, the display of this module is unreadable with many themes (such as Nitro), and it is difficult to modify the display settings. This module would be extremely popular were it more more customisable.

perspectoff

Ok, I looked at the code. This is rather childish. A proper widget ought to be written that is more consistent with Wikiquotes in general.

patcito

Dude, this is not a wikiquote plasmoid, it's just an atheist quote plasmoid. Also Budha was not the greatest atheist as there is no such thing anyway. If you don't like it, feel free to improve it or change it. I don't have time to work on it now.

sxe

I'm a long time kde user and also the admin of http://www.atheisten.org, so i love especially this plasmoid. :) Thx for your work.

Apopatos

The only quotation plasmoid around and I get failure during installation :(

patcito

Make sure you have plasma-scriptengine-webkit or equivalent installed if you use kubuntu, you also need kde 4.3 or newer.

Apopatos

I have Gentoo with KDE-4.3.4. There isn't such a package. When I run plasmapkg -i atheist.plasmoid it says it can not be installed.

patcito

Could you past the entire error message please.

Apopatos

It just says: "the installaton of /home/apopatos/atheist-quote.plasmoid failed"

musonio

This should be installed by default in every distro. It's a nice way to start the day. One thing, though: how can I change the font color? I can't see anything unless I select it manually.

thoughtfulUser

I guess I'm more concerned about the Pope than God. Multitudes of people with their finger on the button, are willing to fight to the death either for him or against him. His minions have often claimed he's God on earth. Does this plasmoid have any quotes like that?

patcito

Some of them might be, I didn't read all of them. For your information though, most countries that can "press the button" are not catholic and couldn't care less about the pope.

thoughtfulUser

FYI: The countries that aren't (with significant tensions) are Pakistan, N Korea, Russian Federation, some others. The countries that ARE include France, USA (the govt is large majority Catholic, just not the people), similar for the UK (devout closet RC just like Blair). Pull out your favorite almanac for all the scary numbers. Then there's the relevant books on the last Index of Forbidden Literature (when Vatican II started) wherein some respected European politicians argued the the entire Cold War was an encouraged nuclear brinkmanship. Big bibliography on this topic. Shall I send? FYI

patcito

The us gov? Neo cons hate catholics, as for the obama administration they're protestants too. France is secular and the brits are not catholics. The pope is pretty irrelevant today and has no say in most things. Only South America still listens to him, and less so as years pass...

thoughtfulUser

During the Reagan Administration, his cabinet was often described as the most catholic in American history. The "Bush dynasty" is a sequel to that. And a mere president can change almost nothing. I can't emphasize enough, don't just look at one man...the presidency. Ya gotta look at congress, the Supreme Court, the NGO's, local govs. The news is all the same. You need to read. You need to look at numbers. The US has virtually embraced "the master religion". Besides, if you want to make a strong argument, please cite names, dates, surveys, verifiable facts, substance. Please don't just go with opinion. Its all on the 'net. Groan...I'm very tired.

patcito

No, I don't have to make a strong argument, you don't get it. You're the one making the extraordinary claim of a catholic conspiracy so you have to prove your point, not me, I'm not making any claim. And saying that many people are catholic in the gov doesn't prove anything but your paranoia.

steveke

Great idea! I'd like to see some control over the font size. It would also be good if you could schedule the frequency for new quotes to be downloaded.

brucew

Agreed, and I found the setting! Open jstet.html As follows: Quote:

<html> <head> </head> <!-- CHANGE font-size STYLE TAG HERE. It comes default at 24px. Change to 14px and it's small enough to still read. --> <body style="font-size:24px"> <script src="jquery-1.3.2.min.js" type="text/javascript"></script> <script src="harris.js" type="text/javascript"></script> <script src="atheism.js" type="text/javascript"></script> <script src="hitchens.js" type="text/javascript"></script> <script src="irreligious.js" type="text/javascript"></script> <script src="dawkins.js" type="text/javascript"></script> <!-- The CSS here seems to be commented out. Not sure why developer did this. --> <script>/*$('body').append('lllllllloool'); $('*').css('font-size','14px');*/ // $('body').html($haris[0]); //x=harris(); //alert(x[0]) //console.log($hitchens[0]); categories = [ [$harris,"Sam Harris"], [$atheism,""], [$hitchens,"Christopher Hitchens"], [$irreligious,""], [$dawkins,"Richard Dawkins"] ] var category = categories[Math.floor(Math.random()*categories.length)] var quote = category[0][Math.floor(Math.random()*category[0].length)] //console.log(quote) if(category[1]==""){ author=""; } else { author = '<li>'+category[1]+'</li>'; } $('body').html(quote+author); </script> </body> </head>

perspectoff

Where is this file stored?

perspectoff

Found it: ~/.kde/share/apps/plasma/plasmoids/atheist-quote/contents/code

MonikaK

"Script initialization failed". Is this only for KDE 4.3? I've 4.2.

patcito

4.3 only sorry.

AndiBauer

Nice idea, where can I get the source code? Couldn't find it on your web page.

patcito

The source is in the plasmoid, it's a zip file.

Pling
0 Affiliates
Details
license
version 1.5
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0