Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2008-08-29 05:56:51

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: asv_plugin_installer (based off of rss_pluginstaller)

ok guys – this went dead for a while, but I finally got around to finishing up a working version. There are still several areas that need to completed (i.e. caching) but I’ve been able to successfully run the plugin against Rob Sable’s pluginfeed and my own. I’ve created two plugins (distributor and the installer).

I was almost ready to distribute when I realized I was still using Rob’s old magppie code still. Everything will be ready to go by this weekend.

Offline

#17 2008-08-29 08:00:16

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,439
Website GitHub

Re: asv_plugin_installer (based off of rss_pluginstaller)

variaas wrote:

Everything will be ready to go by this weekend.

Nice one variaas. Forgive me for not knowing more about this, but does this plugin have to use specific feeds? Have you been following the thread on the textpattern.org redesign? I went off on a tangent but wet put me back on track with a simple solution for telling when a plugin has an update available. Something like that — or a feed or simple SOAP request — would be mighty handy for telling when new plugin versions are available.

Does this plugin have that sort of thing bult-in, or could it be extended to pull that info from a repo/database such as textpattern.org and offer a link to the author’s site/plugin itself if the versions differ? Or have I got the wrong end of the stick and that sort of thing is better as a separate plugin?

Last edited by Bloke (2008-08-29 09:55:47)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Online

#18 2008-08-29 14:10:40

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: asv_plugin_installer (based off of rss_pluginstaller)

bloke – I’ve talked to Alicson about txp.org before and we’d have to write a custom distributor plugin for txp.org. Essentially developers can write their own distributor plugin as long as the output is a feed with a certain layout. The distributor plugin I wrote creates a new tab under extensions, where the developer just pastes the plugin code (serialized) into a textbox. That code is then added to a table, and a file called “plugins.rss” is updated and made available. Once I release the plugins, I’ll include the structure of the plugin feed or you can look at Rob’s pluginfeed to get an idea.

Offline

#19 2008-08-30 23:53:18

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: asv_plugin_installer (based off of rss_pluginstaller)

ok there are testing versions available:

asv_pluginstaller – this will connect to plugin feeds and display plugins. Once installed through the plugin tab, go to the “Help” and click “install” to install the tables and prefs.

asv_plugin_distributor – this will let you create a plugin repository and a plugin feed. Once installed through the plugin tab, go to the “Help” and click “install” to install the tables and prefs.

These are early versions, so there may still be issues, but so far things are looking good in my tests.

Requirements:
  • cURL enabled
  • SimplePie

You can use my feed for testing purposes.

Last edited by variaas (2008-08-30 23:55:12)

Offline

#20 2008-08-31 17:50:19

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: asv_plugin_installer (based off of rss_pluginstaller)

asv_pluginstaller – “badly formed plugin”

Offline

#21 2008-08-31 17:58:26

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: asv_plugin_installer (based off of rss_pluginstaller)

Thanks mrdale – the link and code should be working now

Last edited by variaas (2008-08-31 17:59:50)

Offline

Board footer

Powered by FluxBB