void social_init (void) { gchar *tmp; social_register_bookmark_site ("Blinklist", "http://www.blinklist.com/index.php?Action=Blink/addblink.php&Title=%s&Url=%s", TRUE, TRUE); social_register_bookmark_site ("blogmarks", "http://blogmarks.net/my/new.php?mini=1&title=%s&url=%s", TRUE, TRUE); social_register_bookmark_site ("Buddymarks", "http://buddymarks.com/add_bookmark.php?bookmark_title=%s&bookmark_url=%s", TRUE, TRUE); social_register_bookmark_site ("CiteUlike", "http://www.citeulike.org/posturl?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("digg", "http://digg.com/submit?phase=2&url=%s", FALSE, FALSE); social_register_bookmark_site ("diigo", "http://www.diigo.com/post?url=%s&title=%s&desc=", TRUE, FALSE); social_register_bookmark_site ("Facebook", "http://www.facebook.com/share.php?u=%s", FALSE, FALSE); social_register_bookmark_site ("Google Bookmarks", "https://www.google.com/bookmarks/mark?op=edit&output=&bkmk=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Google Plus", "https://plus.google.com/share?url=%s", FALSE, FALSE); social_register_bookmark_site ("identi.ca" ,"http://identi.ca//index.php?action=bookmarklet&status_textarea=%%E2%%80%%9C%s%%E2%%80%%9D%%20%%E2%%80%%94%%20%s", TRUE, TRUE); social_register_bookmark_site ("Instapaper", "https://www.instapaper.com/edit?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Lilisto", "http://lister.lilisto.com/?t=%s&l=%s", TRUE, TRUE); social_register_bookmark_site ("Linkagogo", "http://www.linkagogo.com/go/AddNoPopup?title=%s&url=%s", TRUE, TRUE); social_register_bookmark_site ("Linkroll", "http://www.linkroll.com/index.php?action=insertLink&url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("netvouz", "http://netvouz.com/action/submitBookmark?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Newsvine", "http://www.newsvine.com/_wine/save?u=%s&h=%s", TRUE, FALSE); social_register_bookmark_site ("reddit", "http://reddit.com/submit?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Slashdot", "http://slashdot.org/slashdot-it.pl?op=basic&url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Squidoo", "http://www.squidoo.com/lensmaster/bookmark?%s", FALSE, FALSE); social_register_bookmark_site ("Twitter", "http://twitter.com/home?status=%s", FALSE, FALSE); social_register_bookmark_site ("Yahoo My Web", "http://myweb2.search.yahoo.com/myresults/bookmarklet?u=%s&t=%s", TRUE, FALSE); conf_get_str_value (SOCIAL_BM_SITE, &tmp); social_set_bookmark_site (tmp); g_free (tmp); if (!bookmarkSite) social_set_bookmark_site ("del.icio.us"); /* set default if necessary */ }
void social_init (void) { gchar *tmp; social_register_bookmark_site ("Blinklist", "http://www.blinklist.com/index.php?Action=Blink/addblink.php&Title=%s&Url=%s", TRUE, TRUE); social_register_bookmark_site ("blogmarks", "http://blogmarks.net/my/new.php?mini=1&title=%s&url=%s", TRUE, TRUE); social_register_bookmark_site ("Buddymarks", "http://buddymarks.com/add_bookmark.php?bookmark_title=%s&bookmark_url=%s", TRUE, TRUE); social_register_bookmark_site ("CiteUlike", "http://www.citeulike.org/posturl?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("del.icio.us", "http://del.icio.us/post?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("digg", "http://digg.com/submit?phase=2&url=%s", FALSE, FALSE); social_register_bookmark_site ("diigo", "http://www.diigo.com/post?url=%s&title=%s&desc=", TRUE, FALSE); social_register_bookmark_site ("ekstreme", "http://ekstreme.com/socializer/?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Facebook", "http://www.facebook.com/share.php?u=%s", FALSE, FALSE); social_register_bookmark_site ("FeedMarker", "http://www.feedmarker.com/admin.php?do=bookmarklet_mark&url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Feed Me Links!", "http://feedmelinks.com/categorize?from=toolbar&op=submit&name=%s&url=%s&version=0.7", TRUE, TRUE); social_register_bookmark_site ("Give a Link", "http://www.givealink.org/cgi-pub/bookmarklet/bookmarkletLogin.cgi?&uri=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Google Bookmarks", "https://www.google.com/bookmarks/mark?op=edit&output=&bkmk=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Google Plus", "https://plus.google.com/share?url=%s", FALSE, FALSE); social_register_bookmark_site ("Gravee", "http://www.gravee.com/account/bookmarkpop?u=%s&t=%s", TRUE, FALSE); social_register_bookmark_site ("Hyperlinkomatic","http://www.hyperlinkomatic.com/lm2/add.html?LinkTitle=%s&LinkUrl=%s", TRUE, TRUE); social_register_bookmark_site ("identi.ca" ,"http://identi.ca//index.php?action=bookmarklet&status_textarea=%%E2%%80%%9C%s%%E2%%80%%9D%%20%%E2%%80%%94%%20%s", TRUE, TRUE); social_register_bookmark_site ("igooi", "http://www.igooi.com/addnewitem.aspx?self=1&noui=yes&jump=close&url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Instapaper", "https://www.instapaper.com/edit?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Lilisto", "http://lister.lilisto.com/?t=%s&l=%s", TRUE, TRUE); social_register_bookmark_site ("Linkagogo", "http://www.linkagogo.com/go/AddNoPopup?title=%s&url=%s", TRUE, TRUE); social_register_bookmark_site ("Linkroll", "http://www.linkroll.com/index.php?action=insertLink&url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("maple", "http://www.maple.nu/bookmarks/bookmarklet?bookmark[url]=%s&bookmark[name]=%s", TRUE, FALSE); social_register_bookmark_site ("Mister Wong", "http://www.mister-wong.de/index.php?action=addurl&bm_url=%s&bm_description=%s", TRUE, FALSE); social_register_bookmark_site ("netvouz", "http://netvouz.com/action/submitBookmark?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Newsvine", "http://www.newsvine.com/_wine/save?u=%s&h=%s", TRUE, FALSE); social_register_bookmark_site ("reddit", "http://reddit.com/submit?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Segnalo", "http://segnalo.com/post.html.php?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Simpy", "http://simpy.com/simpy/LinkAdd.do?title=%s&href=%s&v=6&src=bookmarklet", TRUE, TRUE); social_register_bookmark_site ("Slashdot", "http://slashdot.org/slashdot-it.pl?op=basic&url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Spurl", "http://www.spurl.net/spurl.php?v=3&title=%s&url=%s", TRUE, TRUE); social_register_bookmark_site ("Squidoo", "http://www.squidoo.com/lensmaster/bookmark?%s", FALSE, FALSE); social_register_bookmark_site ("StumbleUpon", "http://www.stumbleupon.com/submit/?url=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("tagtooga", "http://www.tagtooga.com/tapp/db.exe?c=jsEntryForm&b=fx&title=%s&url=%s", TRUE, TRUE); social_register_bookmark_site ("Technorati", "http://technorati.com/faves/?add=%s", FALSE, FALSE); social_register_bookmark_site ("Twitter", "http://twitter.com/home?status=%s", FALSE, FALSE); social_register_bookmark_site ("wists", "http://www.wists.com/r.php?r=%s&title=%s", TRUE, FALSE); social_register_bookmark_site ("Yahoo My Web", "http://myweb2.search.yahoo.com/myresults/bookmarklet?u=%s&t=%s", TRUE, FALSE); social_register_bookmark_site ("zurpy", "http://tag.zurpy.com/?box=1&url=%s&title=%s", TRUE, FALSE); conf_get_str_value (SOCIAL_BM_SITE, &tmp); social_set_bookmark_site (tmp); g_free (tmp); if (!bookmarkSite) social_set_bookmark_site ("del.icio.us"); /* set default if necessary */ }
static void on_socialsite_changed (GtkComboBox *optionmenu, gpointer user_data) { GtkTreeIter iter; if (gtk_combo_box_get_active_iter (optionmenu, &iter)) { gchar * site; gtk_tree_model_get (gtk_combo_box_get_model (optionmenu), &iter, 0, &site, -1); social_set_bookmark_site (site); } }