I have a suggestion concerning maps (eg map of all points in a
category). I would like to get the maps to be centred and scaled.
For example, in the following, all the points are off the displayed map.
http://london.randomness.org.uk/wiki.cgi?action=index;format=map;index_type…
The following is a quick demo to play with
http://www2.black1.org.uk/~andrew/map/exp_bounds.html
Click on a few points, hit "Reposition map" then repeat.
In practice
- you might want to make it configurable for the user
- apply a minimum zoom (eg my demo produces a very large scale map
if you give a single point)
What do people think.
Andrew
Thanks to those that came to the pub - it was a fun afternoon and good
to talk to people and get them involved in OpenGuides/meet new people
etc.
I've dumped my scribblings onto the wiki page:
http://dev.openguides.org/wiki/Anniversary
and implemented the Akismet plugin idea (after returning home with a
bunch of spam moderations to attend to...)
http://dev.openguides.org/browser/sites/oxford.openguides.org/lib/OpenGuide…
Very rough but something I'd like to clean up and include into the
distribution as a way of making the spam problem Someone Else's Problem.
Cheers,
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
Summary:
I think I know why OpenGuides has a habit of occasionally
taking over servers. If you've experienced problems with occasional
ridiculously high load averages, take a look at the Action paragraph
below.
Action:
In the short term, I suggest that anyone who's been having trouble
with OpenGuides taking over their machines should comment the per-user
RSS feed links out of userstats.tt - copy it to your custom_templates
directory and either delete everything between [% IF username %] and
the next [% END %] statement (inclusive), or change [% IF username %]
to [% IF username AND 0 %] - both will have the same effect.
Details:
I suspect that I have at last found out the thing that makes
OpenGuides take people's servers over. It's the per-user RSS feeds,
which are usually linked from e.g.
http://cambridge.openguides.org/wiki/?username=Kake;action=userstats
The problematic feeds are those which omit minor edits, and they're
only a problem on large guides (Cambridge is fine, RGL is not). The
reason for this is that they effectively select _everything_ from the
database and then winnow it down. When a spider is hitting one of
these feeds every second... I think you can see where this is going,
and it's not pretty.
The reason this has gone unnoticed for so long is that (a) nobody
really uses these feeds anyway, so they only get accessed by spiders
etc, and spiders aren't going to email us and say "hey, this link is
very slow", and (b) these feeds are the only thing in OpenGuides that
use "last n changes" as a selection criterion - Recent Changes uses
"last n days", which is much more efficient.
The root problem is with the _find_recent_changed_by_criteria method
in Wiki::Toolkit::Store::Database, specifically the "metadata_wasnt"
parameter in combination with the "limit" one. I am working on a
rewrite of this method to make it more efficient, but this is going to
require some thinking and hence some time.
Kake
Following a conversation that I just had on the IRC channel with Kake
and Christopher Schmidt, it seems my sole remaining interest area in
the project (RDF functionality) is no longer of interest to other
users and developers of OpenGuides. Therefore I am withdrawing from
the project. I will relinquish the domain name and website hosting to
whoever wishes to take over it - please mail me offlist.
I wish OpenGuides good luck in the future.
--
قبائلَ صوتي – على صمتها
Earle Martin | http://downlode.org/
Apparently there's now a universal edit button, embedded in Wiki pages
in a manner similar to RSS:
http://universaleditbutton.org/Universal_Edit_Button
There's a Firefox extension to enable it, but I imagine it'll end up in
the browsers eventually.
--
Rev Simon Rumble <simon(a)rumble.net>
www.rumble.net
The Tourist Engineer
Because geeks travel too.
http://engineer.openguides.org/
"A conservative is a man who believes that nothing should
be done for the first time."
- Alfred E Wiggam
There are a number of OpenGuides page types that web spiders don't
really need to index, and we have code to stop them doing it, e.g.
http://dev.openguides.org/changeset/573http://dev.openguides.org/changeset/1132
However, it doesn't seem to be working. See for instance:
http://london.randomness.org.uk/wiki.cgi?action=list_all_versions;id=Locale…
which if you view the source does indeed have
<meta name="robots" content="noindex,nofollow" />
in the <head>.
But from the Apache logs:
66.249.67.153 - - [25/Jun/2008:14:59:00 +0100] "GET /wiki.cgi?action=list_all_versions;id=Locale%20IG9 HTTP/1.1" 200 3151 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Am I missing something obvious?
Kake
A decision has been made! The 5th anniversary meet will be in Oxford
on Saturday 21 June, starting at lunchtime and continuing into the
evening until people need to head home.
Dom and Socks are working on figuring out a suitable venue.
Please put this date in your diaries now! You can also start inviting
other people along - I think Ivor had some thoughts on this. I'll be
publicising it on the RGL livejournal community.
Kake