I have a zero width textarea to type into for content, categories and locales. See attached screenshot.
Firefox is OK, as that's what I use at home.
Editing pages with content already present is OK, just new pages that are a problem.
IvorW wrote:
><http://london.openguides.org/?action=index;index_type=category;index_value=…>
>
>should work, but there's some rogue data in there that's breaking the XML.
>
>
Cheers - that does the trick. As you say there are problems. I have
spotted two forms
- <a> and similar tags in the data
- & in the category name (eg Hall & Woodhouse) that should be escaped.
Andrew
> -----Original Message-----
> From: openguides-london-bounces(a)openguides.org
> [mailto:openguides-london-bounces@openguides.org]On Behalf Of Andrew
> Black
> Sent: 10 January 2006 12:29
> To: openguides-london(a)openguides.org
> Subject: [OGL] List of categories in XML or similar
>
>
> Hi
> Is there a way of fetching a list of all categories in (say) XML. I
> want to have a prog that list all cats matching a rexexp (so
> I can get
> the spelling right)
<http://london.openguides.org/?action=index;index_type=category;index_value=…>
should work, but there's some rogue data in there that's breaking the XML.
Hi
Is there a way of fetching a list of all categories in (say) XML. I
want to have a prog that list all cats matching a rexexp (so I can get
the spelling right)
CHeers
Hi
Does anyone have the pre-hack version of the wi-fi page (think that what
is was then called).
I have a memory of a useful map search called something like
http://www.dowcra.co.uk but I can't track it down.
Andrew
Good evening ladies :)
After some time now, I try to bring myself back to your minds ...
I was wondering whether (or what) to do to set up an OGL mirror for
something unfortunately like in september not to happen again soon.
I would appreciate any descriptions of possibilities of mirroring the guide.
thx
Kai M Poppe
IvorW wrote:
>
>The next entry after "Little Venice" is for "Shish, NW2 4NH".
>The XML looks fine to me, and I notice that the comma has veen correctly escaped in the URLs. Maybe Thunderbird doesn't like escaped commas.
>
>
>
That is the sort of thing to look for, but the following looks fine.
<rdf:li rdf:resource="http://london.openguides.org/index.cgi?id=St_Stephens_Tavern%2C_SW1A_2JR;ve…" />
>Yes, these are the two options at present. You can also get RSS feeds of the last x changes for a contributor, and all nodes in a category or locale.
>
>
Are these options documented anywhere. A bit of quick reverse
engineering gives
http://london.openguides.org/index.cgi?
username=xxx;
action=rss
items=10;
ignore_minor_edits=1
any more ?
> -----Original Message-----
> From: openguides-london-bounces(a)openguides.org
> [mailto:openguides-london-bounces@openguides.org]On Behalf Of Andrew
> Black
> Sent: 13 December 2005 14:10
> To: Discussion of the Open Guide to London.
> Subject: [OGL] RSS is a bit temperamental
>
>
> The RSS facility on London openguides is great when it works but from
> time to time produces XML that Thunderbird doesnt like. I havnt
> managed to pin down what is upsetting it but there something wrong on
> Fri 9 /12 ( We got the "Sites about London" and "Little Venice" but
> nothing latter that day).
>
The next entry after "Little Venice" is for "Shish, NW2 4NH".
The XML looks fine to me, and I notice that the comma has veen correctly escaped in the URLs. Maybe Thunderbird doesn't like escaped commas.
- <item rdf:about="http://london.openguides.org/index.cgi?id=Shish%2C_NW2_4NH;version=3">
<title>Shish, NW2 4NH</title>
<link>http://london.openguides.org/index.cgi?id=Shish%2C_NW2_4NH;version=3</link>
<description>[JohnGH]</description>
<dc:date>2005-12-09T19:59:40+00:00</dc:date>
<dc:contributor>JohnGH</dc:contributor>
<modwiki:status>updated</modwiki:status>
<modwiki:importance>major</modwiki:importance>
<modwiki:diff />
<modwiki:version>3</modwiki:version>
<modwiki:history />
<rdfs:seeAlso rdf:resource="http://london.openguides.org/index.cgi?id=Shish%2C_NW2_4NH;format=rdf" />
</item>
> What I am inclined to do is run a cron job that gets a
> snapshot of the
> RSS every hour - I suspect there is the odd item that is generating
> "unusual" XML but once that one has wrapped of the bottom it starts
> working again.
Sounds like what I had running for the og_mirror script.
> BTW - does the RSS always give the the last 15 items. or the
> items in a
> particular time period.
Yes, these are the two options at present. You can also get RSS feeds of the last x changes for a contributor, and all nodes in a category or locale.
The RSS facility on London openguides is great when it works but from
time to time produces XML that Thunderbird doesnt like. I havnt
managed to pin down what is upsetting it but there something wrong on
Fri 9 /12 ( We got the "Sites about London" and "Little Venice" but
nothing latter that day).
What I am inclined to do is run a cron job that gets a snapshot of the
RSS every hour - I suspect there is the odd item that is generating
"unusual" XML but once that one has wrapped of the bottom it starts
working again.
BTW - does the RSS always give the the last 15 items. or the items in a
particular time period.
ANDREW