Textpattern Forum

You are not logged in. Register | Login | Help

#81 2005-07-31 09:47: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

Thanks to Sencer i did solve the problem. Maybe this is worth for other users of rc4 (deanload) using this plugin having the same problem:

Find in plugin code (not ! magpierss.php) the following line around 23:
<code>
// MagpieRSS is now included. Maybe someday I’ll make it a plugin, but no need anymore! if( ! file_exists($prefs[‘file_base_path’].’/magpierss.php’) ) { return ‘TXP.icio.us requires MagpieRSS’; } else { require $prefs[‘file_base_path’].’/magpierss.php’; }
</code>

and change the last “require” to “require_once”:
<code>require_once $prefs[‘file_base_path’].’/magpierss.php’;</code>

Last edited by alexandra (2005-07-31 09:55:34)

Offline

#82 2005-08-09 18:33:40

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

I just tried to update to v1.3 of the plugin, and got the following error when uploading the MagpieRSS file using the old-style file installer:

<code>Notice: unserialize() [function.unserialize]: Argument is not a string in /home/elenita/public_html/textpattern/include/txp_plugin.php on line 155</code>

Any suggestions on what to do? I’m using Revision 736, which is in the RC5 branch.

Offline

#83 2005-08-09 18:46:51

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

Elenita, v1.3 does not require any MagpieRSS files anymore. all what is needed is just the plguins textfile to upload.

Offline

#84 2005-08-09 22:25:52

greenrift
Plugin Author
Registered: 2004-03-08
Posts: 186
Website

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

> alexandra wrote:
> Elenita, v1.3 does not require any MagpieRSS files anymore. all what is needed is just the plguins textfile to upload.

Correction:

It does require it, but you need to upload it through the TXP file interface.

I guess what I should do is just have the plugin automatically download it from my website and save it in the temp directory, but thats for another day. Kind of like how TXP uses languages now.

Offline

#85 2005-09-04 19:49:03

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

Any suggestions for use with v4.0? Without an old-style installer, there’s no way to install the Magpie file needed by this plugin.

Offline

#86 2005-09-08 17:51:59

maland
Member
Registered: 2005-07-30
Posts: 19

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

Alexandra, I was having the same problem as you with the Fatal error: Cannot redeclare parse_w3cdtf() (previously declared in /www/htdocs/txpa/files/magpierss.php:81) in /www/htdocs/txpa/files/magpierss.php on line 81

i did what you posted and updated the code to require_once and I’m getting some output at least, still some more work to do with it before i get it figured out. Thanks!

Malan D

Last edited by maland (2005-09-08 17:53:46)

Offline

#87 2005-09-08 18:22:41

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

maland,
if you have any questions, send me an email. i know the plugin very well as the complete TXP Sites Collection is based on it.

Offline

#88 2005-09-27 04:58:48

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 739

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

I might take u up on that, alexandra : )

just saw this: http://blog.del.icio.us/blog/2005/07/tags_for_two.html
thanks to: http://fishbowl.pastiche.org/2005/09/21/useful_delicious_hack

for a group-site I’d like to swoop on this feature — rather than having to login to a shared del.icio.us account, we could tag stuff “for:group-site” and be done without leaving the comfort of our own login

so would it be easy enuf to magpie a url like http://del.icio.us/rss/for/username?private=44c4339df249df6d06218d4b81fa49cf
???

edit

maybe it’s not so good – the title in the feed has the referring user’s name in there:
<title>[from ewesername] New Zealand In Pictures</title>

… don’t like that …

and a further question:

you can’t display the tags associated with the link with this plugin, right?

Last edited by nardo (2005-09-27 05:55:15)

Offline

#89 2005-09-27 14:50:05

greenrift
Plugin Author
Registered: 2004-03-08
Posts: 186
Website

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

You can almost do the del.icio.us posts “for” people. The problem ends up being the private key. However if you remove the / between $username and $require on line #41 of my plugin, and then make your tag have username="for/username/?private=KEY" you should end up getting your feed. Though it will be formatted how you mentioned.

Right now there is no way to associate the tags that are part of a post using my plugin. I’d have to take a look at the magpie output from a feed, but the information is included in the raw RSS.

Offline

#90 2005-09-27 23:00:52

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 739

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

cheers greenrift, much obliged

anyone got examples of sites using del.icio.us bookmarks within their txp install? probably more than just a link list – how to get some associations with zing off the tags & this folksonomy thing …

best I come up with is just displaying the tags as hyperlinks so if you see an intriguing tag (i.e. not ‘css’) you click … but most tags are kinda prosaic so why bother

Offline

Board footer

Powered by FluxBB