Textpattern Forum

You are not logged in. Register | Login | Help

#101 2006-02-14 18:21:41

xenobulb
Member
From: chicago, IL
Registered: 2005-05-27
Posts: 10
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

Love this plugin. One question. What tag do I use in my form to utilize the “notes” section of del.icio.us? Thanks.

Offline

#102 2006-02-17 16:41:47

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

Feature request: could the next version please encode ampersands in url’s as HTML entities, as del’s site does? Currently, it just uses &, and every time I have one of those links displayed on my site, my XHTML Strict validation breaks because unescaped ampersands is considered bad form.

Thanks!

Edit: <a href=“http://forum.textpattern.com/viewtopic.php?id=13377”>Solution found</a>!

Last edited by Elenita (2006-04-01 15:32:42)

Offline

#103 2006-02-26 09:59:01

wanni
Plugin Author
Registered: 2005-11-11
Posts: 32

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

I did some little tweaking so that the output is sorted by title. It is hard-coded, so there is not switch to decide if the links are sorted or not. But this is not so hard to implement and I only need alphabetically sorted lists.

So replace

<blockquote><pre>
// Remove all items that have undesired tags
if(!empty($exclude)) { $exclude = explode(’ ‘,$exclude); $GLOBALS[‘exclude_tags’] = implode(‘|’,$exclude); $yummyitems = array_filter($yummyitems, ‘remove_unwanted_tags’);
}

foreach($yummyitems as $item) { $linkname = htmlentities($item[‘title’]);
</pre></blockquote>

with

<blockquote><pre>
// Remove all items that have undesired tags
if(!empty($exclude)) { $exclude = explode(’ ‘,$exclude); $GLOBALS[‘exclude_tags’] = implode(‘|’,$exclude); $yummyitems = array_filter($yummyitems, ‘remove_unwanted_tags’);
}

foreach ($yummyitems as $key => $row) { $title[$key] = $row[‘title’];
}
$title_lowercase = array_map(‘strtolower’, $title);
array_multisort($title_lowercase, SORT_ASC, $yummyitems);

foreach($yummyitems as $item) { $linkname = htmlentities($item[‘title’]);
</pre></blockquote>

Offline

#104 2006-03-01 17:12:08

instantok
Member
Registered: 2004-08-10
Posts: 20

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

I’m running this along with the <a href=“http://forum.textpattern.com/viewtopic.php?id=3094&p=1”>audioscrobbler plugin</a>. Anyone have advice on getting them both to use the same install of magpierss? As of now I can only have one of the plugins active at a time because the two different magpie installs conflict. I tried changing some paths but couldn’t pinpoint exactly what to do. any help would be greatly appreciated.

Last edited by instantok (2006-03-01 17:12:36)

Offline

#105 2006-04-01 15:28:23

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

i’m using the plugin but i think i can’t get the cache to work properly. the del.icio.us links are disappearing now and then and i have no idea why. the del.icio.us feed is working just fine. currently i’ve used if_data to display something else when there are no del.icio.us links to display but i’d love to hear a better solution…

Offline

#106 2006-04-01 16:03:02

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,368
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

@sthmtc: which site and how many links do you display?

Offline

#107 2006-04-01 16:08:27

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

Alex, for what it’s worth, my own site is having the exact same problem that sthmtc describes right now. I think it’s a temporary problem somewhere, not a fundamental issue with the plugin.

Offline

#108 2006-04-01 16:11:26

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,368
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

I have the problem on TXP Mag for 2,3 month by now and it is annoying. I thought it was due to the many links i insert via the plugin… but does not really know

Offline

#109 2006-04-02 00:57:49

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

For what it’s worth, things are back to normal on my site.

Alex, how many links are you talking about? Because if it’s really that many, you might want to ask the del.icio.us staff about it and see if they have any suggestions.

Offline

#110 2006-04-02 10:17:25

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,368
Website

Re: [plugin] [ORPHAN] txp.icio.us - Del.icio.us bookmarks made easy

I guess del.icio.us restricts the amount of links one can get via plugin. At least they restrict (!) the number of links per tag to 31, that is what del.icio.us told me a while ago.

Offline

Board footer

Powered by FluxBB