Digg.com plugin for Konqueror

Utilities

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

1
Become a Fan
5.0

Available as/for:
Description:
A Konqueror plugin that adds an icon in the statusbar used to toggle a docked article submission window for the Digg.com website. URL and Title fields can automatically be filled as you surf the net and the list of selectable Digg categories is configurable.

FEATURES:
Single-click show/hide Digg submission window that docks in the corner of each HTML view frame.
Automatically set URL and Title fields, fill body with text selection, and open pages in new tabs if configured that way.
All current Digg topics are available and new topics can be added in case Digg.com adds more in the future.

KNOWN ISSUES:
No internationalization.

TODO:
Maybe add inline human verification and pre-submission article duplicate search capability in the future.

All Digg graphics are copyrighted by Digg.com (with which I have no affiliation) and are licensed under a Creative Commons Attribution-ShareAlike 2.5 license.
For more information, visit http://creativecommons.org/licenses/by-sa/2.5/

Digg API icon pack available here:
http://diggtheblog.blogspot.com/2006/07/integrating-digg-within-your-website.html
Last changelog:

* Fixed bug causing the body input of the submission window to disallow selecting text after having selected website text beforehand.
* Fixed some typos.
* Make this note that Alt+D is the shortcut for the Submit button.
* Make body input begin with selected text when window created (but not toggled).
* Set up basic project page for any issue tracking, etc. http://code.google.com/p/konqplugindigg/


Ratings & Comments

10 Comments

agittins

Cool, works on x86_64 as well, except the install puts the plugin at /usr/lib/kde3 when it should go into /usr/lib64/kde3 - I just linked them there manually but ideally configure should identify the correct location.

roderick

Here's an ebuild for gentoo users: # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit kde DESCRIPTION="Digg.com Konqueror Plugin" HOMEPAGE="http://www.kde-apps.org/content/show.php?content=44287" SRC_URI="http://www.kde-apps.org/content/files/44287-konqplugin_digg.tar.bz2" RESTRICT="nomirror" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="${DEPEND}" S="${WORKDIR}/konqplugin_digg" need-kde 3.5 need-qt 3.6 src_compile () { econf || die "configure failed" cd ${S}/src make libkonqplugin_digg.la cd ${S} emake || die "emake failed" }

roderick

The floating Digg box appears cut off in my install. Any recommendations on how to fix?

roderick

I made the following patch and now I can see the buttons on the bottom correctly. --- konqplugin_digg/src/diggpluginwidgetbase.ui 2006-08-15 20:28:32.000000000 -0230 +++ konqplugin_digg/src/diggpluginwidgetbase.ui 2006-08-17 14:36:14.000000000 -0230 @@ -8,8 +8,8 @@ 0 0 - 343 - 240 + 443 + 340 Also need to add this to ebuild in a PATCHES line for the gentooers.

roderick

Ignore previous... It contained HTML chars and got hoofed in post. Use this one... --- konqplugin_digg/src/diggpluginwidgetbase.ui 2006-08-15 20:28:32.000000000 -0230 +++ konqplugin_digg/src/diggpluginwidgetbase.ui 2006-08-17 14:36:14.000000000 -0230 @@ -8,8 +8,8 @@ <rect> <x>0</x> <y>0</y> - <width>343</width> - <height>240</height> + <width>443</width> + <height>340</height> </rect> </property> <property name="caption">

roderick

I'm an idiot. Ignore the patch. It does not fix it. Here's what I found. If I click the home icon on desktop (it loads the Konqueror file browser profile) and then browse to a web site, all works as exected. If I click on Konqueror icon (it loads the web browser profile) and this is where it is cut off and broken. Any ideas?

KDEfanboy

Hmm, I've tried some profiles and I can't get anything like this. Try emailing or on freenode sending me a konqueror profile and perhaps a screenshot and I'll see if I can replicate it. Any other Gentoo users experience it? Does it stay in that relative position even after resizing? In the meantime, I don't know what could cause the part width() to return different responses for different profiles.. so you might try explicitly calling adjustSize() on the new widget, and/or increase the timeout to reposition the widget. Something like, --- plugin_digg.cpp.old 2006-08-18 01:08:25.000000000 -0600 +++ plugin_digg.cpp 2006-08-18 01:20:18.000000000 -0600 @@ -54,7 +54,7 @@ PluginDigg::~PluginDigg() bool PluginDigg::eventFilter(QObject *object, QEvent *event) { - if (m_diggPluginWidget && event->type() == QEvent::Resize) QTimer::singleShot(0, this, SLOT(slotSetDiggPluginWidgetPosition())); + if (m_diggPluginWidget && event->type() == QEvent::Resize) QTimer::singleShot(1000, this, SLOT(slotSetDiggPluginWidgetPosition())); return KParts::Plugin::eventFilter(object, event); } @@ -64,6 +64,7 @@ void PluginDigg::slotToggleDiggPluginWid if (m_diggPluginWidget) m_diggPluginWidget->setShown(!m_diggPluginWidget->isVisible()); else { m_diggPluginWidget = new DiggPluginWidget((QWidget*)(m_part->widget()->parent()), "digg"); + m_diggPluginWidget->adjustSize(); connect(m_diggPluginWidget, SIGNAL(submitUrl(const KURL &)), SLOT(slotSubmitUrl(const KURL &))); setWidgetPosition(m_diggPluginWidget);

ArneBab

Thanks a lot! This really saved time!

jrepin

Thanks for a usefull tool like this. I use digg.com quite a lot lately and this tool sure makes it more convenient to use it. BTW I have submited a storry about this tool to digg.com: http://digg.com/linux_unix/Digg_com_plugin_for_Konqueror

KDEfanboy

Yw! I've been wanting to Digg but I needed something first to make it all easier in my browser of choice. :P Glad to see another find it useful too! Thanks for the digg; if it's useful to more Konqueror diggers, I'm glad for that too. :)

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

Other Utilities:

Gis Weather
RingOV
last update date: 9 years ago

Score 8.0

Splash Screen Manager
zorinos
last update date: 14 years ago

Score 7.4

BashStyle-NG
Chrispy
last update date: 10 years ago

Score 6.1

anymeal
wedesoft
last update date: 7 months ago

Score 5.0

MonA3XN 01
A3XN
last update date: 2 years ago

Score 5.0

SuperCalc (By Keshav bhatt)
keshavnrj
last update date: 10 years ago

Score 5.0



System Tags