Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2004-12-04 21:26:00

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

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

Find the line that says:

if( !defined('MAGPIE_DEBUG') ) define('MAGPIE_DEBUG',(DEV) ? 2 : false); // Display debugging notices

Then change the (DEV) ? 2 : false part to just say 4 (any nubmer greater than 1 is good enough).

Then save the plugin, double/triple/pentuple check that its activated, and see what the output is. Post it here or send me an email.

Offline

#17 2004-12-05 03:38:31

valdok
Member
From: Chicago
Registered: 2004-03-14
Posts: 31
Website

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

Still nothing.

Is there something I need to be doing server-side? It doesn’t look like the plugin is even being run.

BTW — I was unable to install it via the “browse and install” function, I had to copy/paste it into the textarea and hit install. No plugins install for me with the browse/install fields.

Last edited by valdok (2004-12-05 04:25:28)

Offline

#18 2004-12-05 18:59:14

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

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

You’ve properly installed MagpieRSS, the plugin is activated, you have placed the <txp:txp_icio_us username="your_username" /> tag where you want to display your delicious links, and it doesn’t work? Nothing at all, not a single thing, is outputted?

There was a problem with MagPieRSS, something would be outputted. Either “requires MagPieRSS” or “unable to connect to del.icio.us”. If NOTHING is being outputted, then you either haven’t done the last two of the above, don’t have any del.icio.us links, or have filtered them all out through require/exclude.

Offline

#19 2004-12-05 19:50:10

valdok
Member
From: Chicago
Registered: 2004-03-14
Posts: 31
Website

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

Magpie is installed. The plugin is active, and the tag is placed on a page. Nothing is outputted. I have a few test del.icio.us links under my account; and I’m not filtering them.

Offline

#20 2004-12-05 20:24:17

chrismc
Plugin Author
Registered: 2004-09-13
Posts: 37
Website

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

I think del.icio.us is having a few problems at the moment – I know of a few sites that are missing their normal links list tonight… Maybe that’s the reason why it’s not working?

Offline

#21 2004-12-06 13:46:31

mjm
New Member
From: Basel CH
Registered: 2004-10-10
Posts: 2

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

valdok- I have also tried installing this plugin many times and cannot get it to output anything.
I have tried it on RC1 and RC2.
I would really like to get this working too. Ill post any results if i get it working.

Offline

#22 2004-12-06 23:00:08

valdok
Member
From: Chicago
Registered: 2004-03-14
Posts: 31
Website

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

Thanks, I was hoping it wasn’t just me. Now this leads me to believe it’s either something with Magpie or the plugin itself.

Update: I’ve tried installing it on other TXP installs on the same server, and I still get no output, even with the debugging reporting enabled.

This is one of those plugins that — if we get a stable version running — would be a huge huge huge asset to the popularity of TXP, I’m almost tempted to ask Dean to incorporate it natively into TXP, now that a lot of people seem to be using del.icio.us on a fairly regular basis.

Offline

#23 2004-12-06 23:10:41

nesher
Archived Plugin Author
Registered: 2004-02-23
Posts: 15

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

I had done a del.icio.us/magpierss hack (not a plugin, just some php work) that i was using for my links on my site and my site started freakin out today (not sure when, could have been last night). I had to switch back to textpattern’s native links system till whatever’s wrong gets figured out.

Offline

#24 2004-12-06 23:22:59

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

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

I think I figured it out. Stupid me not documenting it properly: The plugin requires a form, and uses “plainlinks” as its default form (same as txp:linklist in RC2 and maybe others). You can either specify a form form="theformname" or create a form called “plainlinks”. The available tags to use in this form are as follows:

  • txp:link – outputs a link, the del.icio.us description field is the link text
  • txp:linkdesctitle – outputs a link, with the title of the link being the del.icio.us extended field
  • txp:link_description – outputs the del.icio.us extended field.

For example, the links on my website have the form:

&lt;txp:link /&gt; &lt;txp:link_description /&gt;

I’ll upload a version that will give an error if it doesn’t get a form. But I’m guessing this is the reason.

Oh yah, and I feel really dumb for not writing that the form was required.

Last edited by greenrift (2004-12-06 23:23:25)

Offline

#25 2004-12-06 23:33:37

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

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

Heh. Glad you found out about the missing form – hope it solves somebody’s problem. I just re-downloaded and re-installed magpie and the plugin.

I’m still missing something elemental.
  • plugin is active
  • form called plainlinks exists, with a simple < txp:link tag / > in it – I’ve tried it both as a miscellaneous form or a links form
  • magpie is creating a cache file in my images directory
  • if I remove username=“avarweth” from the tag, it gives me an error about not connecting to del.icio.us

The tag I’m using is: < txp:txp_icio_us username=“avarweth” / > with no spaces before/after the brackets, obviously.

What else could I be missing? I know it’s a slap-the-forehead kind of thing, but I can’t find it.

Offline

#26 2004-12-06 23:35:43

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

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

The page with the plugin tag, btw, contains nothing but the plugin tag. The only output on the page is the “runtime” comment tag.

Offline

#27 2004-12-06 23:43:11

nesher
Archived Plugin Author
Registered: 2004-02-23
Posts: 15

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

I got this plugin working – woo hoo!
And I modified it a bit, because i wanted my webpage to be valid html – so I changed this line:

<pre>
<code> $url =$item[‘link’];
</code>
</pre>

to this line:

<pre>
<code> $url = htmlentities($item[‘link’]);
</code>
</pre>

and it worked fine.

Last edited by nesher (2004-12-06 23:43:29)

Offline

#28 2004-12-07 00:02:33

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

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

Jennifer:

Try deleting the cache file (only do this once though. Don’t keep deleting it), it might be a stale cache file that has nothing in it for reason.

I’ll have to think a little more about why it wouldn’t display anything.

Offline

#29 2004-12-07 00:09:11

valdok
Member
From: Chicago
Registered: 2004-03-14
Posts: 31
Website

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

I’ll reinstall and give it a whirl, greenrift. I’ll report back if it works or not.

Offline

#30 2004-12-07 00:22:27

Jennifer
Member
From: Michigan
Registered: 2004-02-25
Posts: 74
Website

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

Now I’m getting no cache-creation at all.

I think I’ve wonked something on my end. I’m going to create a clean textpattern install later, and try it there. I’ll report back.

Offline

Board footer

Powered by FluxBB