Loading...
 
Skip to main content

Improvements in SNARF plugin to help keeping doc.tw.o and xxx.tw.o sites documentation in sync.

Status
Closed
Subject
Improvements in SNARF plugin to help keeping doc.tw.o and xxx.tw.o sites documentation in sync.
Version
1.9.x
2.x
Category
  • Usability
Feature
Wiki Plugin (extends basic syntax)
Resolution status
Partially solved
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Suggestion taken from doc.tw.o authors forum:
http://doc.tikiwiki.org/tiki-view_forum_thread.php?topics_offset=1&forumId=1&comments_parentId=427

Re: Styles and Themes
en: Dm 19 de Jun, 200705:06 respon
Use this thread to discuss the page:: Styles and Themes

About the new content here, I think it might be better not to duplicate the themes.tw.o information at this site. As I understand it, the information at each Tiki site (tw.o, doc.tw.o, etc.) should be unique and just linked to if it needs to be available to users at another site. When putting themes.tw.o together, some content was moved from tikiwiki.org to there, to avoid having it in two places.

Pages duplicated at different sites will become out of sync when one side is updated. If we want to actually display the information at more than one site, is it possible to have an intertiki include plugin so updates are automatic?

I believe the focus of doc.tw.o is how to use the standard Tiki package. That means info on extending the default Tiki would be at mods.tw.o, themes.tw.o, etc.

-- Gary

Re: Styles and Themes
en: Dv 22 de Jun, 200711:52 Editar respon
Hi Gary,

I agree. My my reason to add a copy of documentation work in themes.tw.o is that is included in next pdf file produced from doc.tw.o Documentation structure with the rest of documentation (there was a big lack of information in current documentation site about the state of the art of themes and styles available in Tiki community...)

A solution could be using SNARF plugin, but it's not available at doc.tw.o right now, and some coders don't like to allow snarf splugin to be available for registered users, since the regex param can be dangerous to allow control of your tiki site to others...)

So the best solution "could be" (from my point of view) having a modified version of SNARF plugin like this:

1. allowing registered users to call it (and snarf'ed content viewable by anonymous), but having the regex param restricted to editors or admins (through adding a new perm tiki_p_snarf_regex or similar, assignable to some groups and off by default for registered).
2. having a new optional param to avoid getting lateral columns for tiki sites. (maybe allow avoiding header and footer from content snarfed from tiki sites, also?)


This way, content could be evolving in the source sites, and being automatically updated at view time in doc.tw.o.

But we need help from benevolent coders to make this happen...

Btw, current documentation is (only) at:
http://tikiwiki.org/PluginSNARF

And an example of usage here, showing the problems when snarfing tiki sites like doc.tw.o with left column...

Workaround
use iframe plugin instead.
Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1150
Created
Friday 22 June, 2007 10:11:39 UTC
by Unknown
LastModif
Wednesday 31 March, 2010 08:15:54 UTC


Show PHP error messages