You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(30) |
Mar
(123) |
Apr
(188) |
May
(90) |
Jun
(68) |
Jul
(129) |
Aug
(72) |
Sep
(97) |
Oct
(99) |
Nov
(168) |
Dec
(35) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(75) |
Feb
(55) |
Mar
(104) |
Apr
(49) |
May
(12) |
Jun
(11) |
Jul
(47) |
Aug
(104) |
Sep
(14) |
Oct
(26) |
Nov
(31) |
Dec
(10) |
| 2003 |
Jan
(78) |
Feb
(76) |
Mar
(47) |
Apr
(30) |
May
(19) |
Jun
(36) |
Jul
(48) |
Aug
(43) |
Sep
(54) |
Oct
(25) |
Nov
(79) |
Dec
(39) |
| 2004 |
Jan
(43) |
Feb
(14) |
Mar
(17) |
Apr
(15) |
May
(18) |
Jun
(20) |
Jul
(7) |
Aug
(30) |
Sep
(49) |
Oct
(17) |
Nov
(14) |
Dec
(72) |
| 2005 |
Jan
(55) |
Feb
(27) |
Mar
(34) |
Apr
(15) |
May
(8) |
Jun
(23) |
Jul
(7) |
Aug
(19) |
Sep
(3) |
Oct
(44) |
Nov
(3) |
Dec
|
| 2006 |
Jan
(20) |
Feb
(5) |
Mar
(8) |
Apr
(12) |
May
(16) |
Jun
(22) |
Jul
(39) |
Aug
(65) |
Sep
(4) |
Oct
(11) |
Nov
|
Dec
(5) |
| 2007 |
Jan
(2) |
Feb
(2) |
Mar
(8) |
Apr
(3) |
May
(28) |
Jun
(6) |
Jul
(3) |
Aug
(9) |
Sep
(15) |
Oct
|
Nov
(12) |
Dec
(2) |
| 2008 |
Jan
(3) |
Feb
(14) |
Mar
|
Apr
(4) |
May
|
Jun
(12) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
| 2009 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
|
May
|
Jun
(14) |
Jul
|
Aug
(1) |
Sep
(66) |
Oct
(21) |
Nov
|
Dec
(1) |
| 2010 |
Jan
(2) |
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
(100) |
Mar
(17) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
|
From: Anand N. <ana...@ya...> - 2006-10-06 22:27:03
|
Shane, thanks again. I tired different options and had gone trhough each line of Bundle::Slash outputs. There were couple of erros during the make test, but the modules are installed without any problem. >>If I had to guess, you still are either missing required perl modules, or one (or more) is not installed correctly. Make sure you have them all installed (from Bundle::Slash) as well as DBIx::Password and Template-toolkit. Thats what I also thought. but wasnt able to find the missing module/s. $ perl -MTemplate -e 'print "$Template::VERSION\n"'; 2.15 $ perl -MDBIx::Password -e 'print "$DBIx::Password::VERSION\n"'; 1.8 $ perl -MBundle::Slash -e 'print "$Bundle::Slash::VERSION\n"'; 2.52 $ rpm -q perl perl-5.8.8-4 (using the same perl came with distro) $ cat /etc/redhat-release Fedora Core release 5 (Bordeaux) Tried uninstalling libwww to install a previous version, but it has too many dependencies. I can try installing MySQL from the tar ball, I think now that is the only option left for me. - Anand --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |
|
From: Anand N. <ana...@ya...> - 2006-10-06 22:25:48
|
Shane,
thank you so much for your reply. please check my answers below..
apache 1.3.37
mod_perl-1.29
expat-1.95.8-8.2
expat-devel-1.95.8-8.2
perl v5.8.8
MySQL-server-4.1.21-0 (from rpm)
MySQL-client-4.1.21-0 (from rpm)
MySQL-devel-4.1.21-0 (from rpm)
I would use MySQL v5.x. See Slashcode's INSTALL for more information.
Anand: In the install docit was mentioned that MySQL v4.1.x and 5.x are good. Never thought it might be the problem. I will try with MySQL v5.x also.
I installed MySql server, client and devel rpms first and then
installed mod_perl and apache with following commands.
perl Makefile.PL APACHE_SRC=/usr/download/apache_1.3.37/src DO_HTTPD=1 \
>USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 \
> APACHE_PREFIX=/usr/local/apache
make
make test
make install
Didnt notice any errors with the installation except couple of errors
with make test as described in the install doc
you should be able to apachectl configtest and have it come out w/ no
errors at that point.
you should be able to fire up httpd and get the stock
apache-is-installed page, too, at this point.
Anand: Yep. I got the default apache page and accessed the sample perl scripts by creating an alias for a script directory.
When I tried installing slash (R_2_5_0_94), received following messages
Why R_2_5_0_94?
Anand: that is the stable version mentioned at slashcode.com
Writing Makefile for Slash::Apache::Banlist
Writing Makefile for Slash::Apache::Log
Writing Makefile for Slash::Apache::TemplatePages
"strip" is not defined in %Slash::Constants::EXPORT_TAGS at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash/Constants.pm
line 44
Did you check Slashcode's SF bug list for this?
Anand: couldnt find any bug related to this :(
Did you grab a checkout of CVS HEAD and do a make install and see if
you still see the 'strip not defined' problem?
Anand: got the same error with CVS HEAD.
You might want to grab CVS HEAD, or latest t-tag, and use that. I just
did an install on my laptop w/ the latest CVS-HEAD and it make
installs and install-slashsite's a brand new working site just fine.
Anand: I tried both head and the latest t-tag
by any chance did you use Fedora core 5 ? that is what I am using.
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |
|
From: shane <sh...@lo...> - 2006-10-06 15:03:09
|
Well, the suggestion to upgrade to MySQL v5 was just that, a =20
suggestion. Slashcode will work with v4 or v5 - but v4's old. If you =20
are starting fresh, you may as well go with v5, so you won't have to =20
up it later w/ a working server.
My laptop is a Macbook Pro, so no, Fedora {anything} isn't on it. We =20
have a few slashcode (er lamp) servers running FC4. Never had any =20
problems with any RH7->FC4 machines (or RHEL, but haven't tried =20
CentOS yet) running slashcode, ever. I did have our lanmanager push =20
down a FC5 bare install to a machine to get setup and test things out =20=
on, but I've not had time to mess with it.
If I had to guess, you still are either missing required perl =20
modules, or one (or more) is not installed correctly. Make sure you =20
have them all installed (from Bundle::Slash) as well as =20
DBIx::Password and Template-toolkit.
I don't think I normally replace the Perl that comes w/ any of the =20
above distro's.
[shane@web1 ~]$ cat /etc/redhat-release
Fedora Core release 4 (Stentz)
[shane@web1 ~]$ rpm -q perl
perl-5.8.6-24
And I run MySQL from tarball, not RPM.
Shane
On Oct 5, 2006, at 7:10 PM, Anand Nimmagadda wrote:
> Shane, thank you so much for your reply.
>
> After I got your reply, I tried different with different versions =20
> of slash code.
>
> with same MySQl version (4.1.x),
> tried R tag, T tag and tip of the code.
>
> After upgrading the MySQL version to 5.0.x
> updated the PERL modules with force and tried R tag, T tag and tip =20
> of the code
>
> None of this solved the problem. While updating the PERL modules, I =20=
> noticed following warning message,
>
> CPAN.pm: Going to build M/MA/MARCLANG/ParallelUserAgent-2.57.tar.gz
>
> **** WARNING: Unsupported Version of libwww found! ****
> This library only supports libwww up to version 5.76. You seem to have
> version 5.805 installed, which has not yet been tested by the =20
> package author
> for compatibility.
>
> not sure if I am getting this problem because of libwww version.
>
> Also, please check my answers below..
>
>
>
> apache 1.3.37
> mod_perl-1.29
> expat-1.95.8-8.2
> expat-devel-1.95.8-8.2
> perl v5.8.8
> MySQL-server-4.1.21-0 (from rpm)
> MySQL-client-4.1.21-0 (from rpm)
> MySQL-devel-4.1.21-0 (from rpm)
>
> I would use MySQL v5.x. See Slashcode's INSTALL for more information.
>
> Anand: In the install doc it was mentioned that MySQL v4.1.x and =20
> 5.x are good and never thought it might be the problem. I even =20
> tried after upgrading MySQL to MySQL-server-5.0.24a, and it is =20
> still giving the same warning.
>
>
> I installed MySql server, client and devel rpms first and then
> installed mod_perl and apache with following commands.
> perl Makefile.PL APACHE_SRC=3D/usr/download/apache_1.3.37/src =20
> DO_HTTPD=3D1 \
> >USE_APACI=3D1 PERL_MARK_WHERE=3D1 EVERYTHING=3D1 \
> > APACHE_PREFIX=3D/usr/local/apache
> make
> make test
> make install
> Didnt notice any errors with the installation except couple of errors
> with make test as described in the install doc
>
> you should be able to apachectl configtest and have it come out w/ no
> errors at that point.
> you should be able to fire up httpd and get the stock
> apache-is-installed page, too, at this point.
>
> Anand: Yep. I got the default apache page and accessed the sample =20
> perl scripts (my own).
>
>
> When I tried installing slash (R_2_5_0_94), received following =20
> messages
>
> Why R_2_5_0_94?
> Anand: that is the version mentioned at slashcode.com as the most =20
> recent stable version.
>
> Writing Makefile for Slash::Apache::Banlist
> Writing Makefile for Slash::Apache::Log
> Writing Makefile for Slash::Apache::TemplatePages
> "strip" is not defined in %Slash::Constants::EXPORT_TAGS at
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash/=20
> Constants.pm
> line 44
>
> Did you check Slashcode's SF bug list for this?
>
> Anand: couldnt find any bug related to this :(
> Did you grab a checkout of CVS HEAD and do a make install and see if
> you still see the 'strip not defined' problem?
>
> Anand: got the same error with the tip of the code.
>
> You might want to grab CVS HEAD, or latest t-tag, and use that. I just
> did an install on my laptop w/ the latest CVS-HEAD and it make
> installs and install-slashsite's a brand new working site just fine.
>
> Anand: I tried both head and the latest t-tag and got the same =20
> error message.
> by any chance did you install Fedora core 5 on your laptop ?
> that is what I am using.
>
>
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. =20
> Great rates starting at 1=A2/min.
> ----------------------------------------------------------------------=20=
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to =20
> share your
> opinions on IT & business topics through brief surveys -- and earn =20
> cash
> http://www.techsay.com/default.php?=20
> page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________=
____=20
> _______________
> Slashcode-general mailing list
> Sla...@li...
> https://lists.sourceforge.net/lists/listinfo/slashcode-general
|
|
From: Anand N. <ana...@ya...> - 2006-10-05 23:10:57
|
Shane, thank you so much for your reply.
After I got your reply, I tried different with different versions of slash code.
with same MySQl version (4.1.x),
tried R tag, T tag and tip of the code.
After upgrading the MySQL version to 5.0.x
updated the PERL modules with force and tried R tag, T tag and tip of the code
None of this solved the problem. While updating the PERL modules, I noticed following warning message,
CPAN.pm: Going to build M/MA/MARCLANG/ParallelUserAgent-2.57.tar.gz
**** WARNING: Unsupported Version of libwww found! ****
This library only supports libwww up to version 5.76. You seem to have
version 5.805 installed, which has not yet been tested by the package author
for compatibility.
not sure if I am getting this problem because of libwww version.
Also, please check my answers below..
apache 1.3.37
mod_perl-1.29
expat-1.95.8-8.2
expat-devel-1.95.8-8.2
perl v5.8.8
MySQL-server-4.1.21-0 (from rpm)
MySQL-client-4.1.21-0 (from rpm)
MySQL-devel-4.1.21-0 (from rpm)
I would use MySQL v5.x. See Slashcode's INSTALL for more information.
Anand: In the install doc it was mentioned that MySQL v4.1.x and 5.x are good and never thought it might be the problem. I even tried after upgrading MySQL to MySQL-server-5.0.24a, and it is still giving the same warning.
I installed MySql server, client and devel rpms first and then
installed mod_perl and apache with following commands.
perl Makefile.PL APACHE_SRC=/usr/download/apache_1.3.37/src DO_HTTPD=1 \
>USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 \
> APACHE_PREFIX=/usr/local/apache
make
make test
make install
Didnt notice any errors with the installation except couple of errors
with make test as described in the install doc
you should be able to apachectl configtest and have it come out w/ no
errors at that point.
you should be able to fire up httpd and get the stock
apache-is-installed page, too, at this point.
Anand: Yep. I got the default apache page and accessed the sample perl scripts (my own).
When I tried installing slash (R_2_5_0_94), received following messages
Why R_2_5_0_94?
Anand: that is the version mentioned at slashcode.com as the most recent stable version.
Writing Makefile for Slash::Apache::Banlist
Writing Makefile for Slash::Apache::Log
Writing Makefile for Slash::Apache::TemplatePages
"strip" is not defined in %Slash::Constants::EXPORT_TAGS at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash/Constants.pm
line 44
Did you check Slashcode's SF bug list for this?
Anand: couldnt find any bug related to this :(
Did you grab a checkout of CVS HEAD and do a make install and see if
you still see the 'strip not defined' problem?
Anand: got the same error with the tip of the code.
You might want to grab CVS HEAD, or latest t-tag, and use that. I just
did an install on my laptop w/ the latest CVS-HEAD and it make
installs and install-slashsite's a brand new working site just fine.
Anand: I tried both head and the latest t-tag and got the same error message.
by any chance did you install Fedora core 5 on your laptop ?
that is what I am using.
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |
|
From: shane <sh...@lo...> - 2006-10-05 16:04:13
|
On Oct 4, 2006, at 2:08 PM, Anand Nimmagadda wrote > Hi All, > I am trying to install Slash on Fedora Core 5 with following versions, > > apache 1.3.37 > mod_perl-1.29 > expat-1.95.8-8.2 > expat-devel-1.95.8-8.2 > perl v5.8.8 > MySQL-server-4.1.21-0 (from rpm) > MySQL-client-4.1.21-0 (from rpm) > MySQL-devel-4.1.21-0 (from rpm) I would use MySQL v5.x. See Slashcode's INSTALL for more information. > > I installed MySql server, client and devel rpms first and then > installed mod_perl and apache with following commands. > perl Makefile.PL APACHE_SRC=/usr/download/apache_1.3.37/src > DO_HTTPD=1 \ > >USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 \ > > APACHE_PREFIX=/usr/local/apache > make > make test > make install > Didnt notice any errors with the installation except couple of > errors with make test as described in the install doc you should be able to apachectl configtest and have it come out w/ no errors at that point. you should be able to fire up httpd and get the stock apache-is- installed page, too, at this point. > > Then installed Bundle::Slash after installing CPAN update. Got some > error with Time::Calendar and had to do a Force Install. No suprise. There are several perl modules that you have to install by hand. No biggie. Most of them are installed via the Bundle, thankfully. > > When I tried installing slash (R_2_5_0_94), received following > messages Why R_2_5_0_94? > > Writing Makefile for Slash::Apache::Banlist > Writing Makefile for Slash::Apache::Log > Writing Makefile for Slash::Apache::TemplatePages > "strip" is not defined in %Slash::Constants::EXPORT_TAGS at /usr/ > lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash/ > Constants.pm line 44 Did you check Slashcode's SF bug list for this? Did you grab a checkout of CVS HEAD and do a make install and see if you still see the 'strip not defined' problem? > > install didnt stop here, and received a successful installation > message. > > When I tried creating a slash site, received following error, > > # ./install-slashsite -u virtslash > "people" is not defined in %Slash::Constants::EXPORT_TAGS at /usr/ > lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash/ > Constants.pm line 29 > Can't continue after import errors at /usr/lib/perl5/site_perl/ > 5.8.8/i386-linux-thread-multi/Slash.pm line 29 > BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/ > i386-linux-thread-multi/Slash.pm line 29, <DATA> line 139. > Compilation failed in require at ./install-slashsite line 19, > <DATA> line 139. > BEGIN failed--compilation aborted at ./install-slashsite line 19, > <DATA> line 139. > I couldnt find any message in the archives with the similar > problem. can some one please help me to troubleshoot this. > > Thank you > Anand > You might want to grab CVS HEAD, or latest t-tag, and use that. I just did an install on my laptop w/ the latest CVS-HEAD and it make installs and install-slashsite's a brand new working site just fine. Shane -- My slashcode stuff: http://slash.lottadot.com/ Slashcode faq: http://slash.lottadot.com/slash-faq How to ask a question: http://www.catb.org/~esr/faqs/smart- questions.html#before |
|
From: Anand N. <ana...@ya...> - 2006-10-04 18:08:12
|
Hi All, I am trying to install Slash on Fedora Core 5 with following versions, apache 1.3.37 mod_perl-1.29 expat-1.95.8-8.2 expat-devel-1.95.8-8.2 perl v5.8.8 MySQL-server-4.1.21-0 (from rpm) MySQL-client-4.1.21-0 (from rpm) MySQL-devel-4.1.21-0 (from rpm) I installed MySql server, client and devel rpms first and then installed mod_perl and apache with following commands. perl Makefile.PL APACHE_SRC=/usr/download/apache_1.3.37/src DO_HTTPD=1 \ >USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 \ > APACHE_PREFIX=/usr/local/apache make make test make install Didnt notice any errors with the installation except couple of errors with make test as described in the install doc Then installed Bundle::Slash after installing CPAN update. Got some error with Time::Calendar and had to do a Force Install. When I tried installing slash (R_2_5_0_94), received following messages Writing Makefile for Slash::Apache::Banlist Writing Makefile for Slash::Apache::Log Writing Makefile for Slash::Apache::TemplatePages "strip" is not defined in %Slash::Constants::EXPORT_TAGS at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash/Constants.pm line 44 install didnt stop here, and received a successful installation message. When I tried creating a slash site, received following error, # ./install-slashsite -u virtslash "people" is not defined in %Slash::Constants::EXPORT_TAGS at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash/Constants.pm line 29 Can't continue after import errors at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash.pm line 29 BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Slash.pm line 29, <DATA> line 139. Compilation failed in require at ./install-slashsite line 19, <DATA> line 139. BEGIN failed--compilation aborted at ./install-slashsite line 19, <DATA> line 139. I couldnt find any message in the archives with the similar problem. can some one please help me to troubleshoot this. Thank you Anand --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail. |
|
From: Clifton W. <cli...@gm...> - 2006-09-16 22:43:40
|
On 9/14/06, shane <sh...@lo...> wrote: > > > Can you elaborate on this a little bit? I don't see where the problem > would lie. My thinking is that it's different from a .tmpl file. Basically, once you can write template code, the potential for being able to co-opt a site is very, very high. Template code == Database access with the right plugin. I don't think Slash tries to prevent against that. Plus, it's very easy for a template to perform one query too many and drive down site performance. If this is done for -every story view-, you might be a long time in finding the problem. Of course, I'm being paranoid and extremist in my examples, but rather prepare you for the worst rather than hand you a pair of rose-colored glasses and have everything fall apart. The one obstacle I could see is the pre-rendering of the stories. > Slashd writes them to disk as .shtml's, so there'd be no question, > it'd just ignore the template toolkit code within the story.introtext > and bodytext. For .shtmls, yes. This might be true, however that's ONLY if you are planning on using templates-in-stories for anonymous vs logged in content. If you have bigger things in mind, even .shtml generation might bring up some issues. > But when a user hits articles.pl does it show pre-rendered (from > cache) or render it right then and there? If right then and there, it > would seem the template running would be no different from a .tmpl > and it'd be limited to the current user. I'm not quite up-to-speed on the entire pre-rendering mechanism, but I *think* the pre-rendered form is shown in normal site operation for logged in users. This might cause problems for non-saavy users who are expecting more dynamic content from the implication of templates-in-stories. > Obviously, you'd have to fully trust your site admins (ie authors) > with writing template toolkit code. That in itself is kinda scary. And that's pretty much what I was referring to. Remember, if you include the ability to write templates in stories, a bad apple need only break into the *site* to potentially damage the entire server. For someone to abuse .tmpl files, they'd have to break into the *server*, which while also doable is a bit more difficult. It basically all boils down to a matter of trust. And having admins write (potentially bad) template code can make debugging site problems two to three times as hard. Even innocent stuff like missing "-%>" can cause really wacky things to happen and it's not like the site admin can browse the error logs to find out the problem. All in all, I see less gains than issues with doing such things without a lot of learning curve, proper training, and huge amounts of trust before something would be gained by such a thing. Not saying it might not be a worthwhile addition to a sight run by a tight core group of editors (which is why I included a way it *might* work in my original missive), but that it might not be something that only the saaviest of Slashcode site admins need consider. - Cliff |
|
From: Naveen G. <nav...@gm...> - 2006-09-15 14:44:06
|
Anyone know how to integrate cocomment into slashcode? |
|
From: shane <sh...@lo...> - 2006-09-14 22:59:06
|
On Aug 29, 2006, at 7:34 PM, Clifton Wood wrote: > Would be neat, but could also be BAAAD JUJU. Because effectively, > there would need to be some kind of security model in place for > Templates in stories otherwise the potential for site pwnage would > be very high. > > - Cliff Can you elaborate on this a little bit? I don't see where the problem would lie. My thinking is that it's different from a .tmpl file. The one obstacle I could see is the pre-rendering of the stories. Slashd writes them to disk as .shtml's, so there'd be no question, it'd just ignore the template toolkit code within the story.introtext and bodytext. But when a user hits articles.pl does it show pre-rendered (from cache) or render it right then and there? If right then and there, it would seem the template running would be no different from a .tmpl and it'd be limited to the current user. Obviously, you'd have to fully trust your site admins (ie authors) with writing template toolkit code. That in itself is kinda scary. Shane |
|
From: Alexandre L. <ale...@ec...> - 2006-09-07 14:18:52
|
Hi list, Just want a confirmation before messing my table :-) Am I right thinking=20 the uncommonstorywords table contains strings that are ignored when=20 slash automatically look for related stories? Thanks, Alex --=20 Alexandre Leroux, M.Sc., Ing. Environnement Canada / Environment Canada Centre m=E9t=E9orologique canadien / Canadian Meteorological Centre Division de la r=E9ponse aux urgences environnementales / Environmental Emergency Response Division ale...@ec... |
|
From: Clifton W. <cli...@gm...> - 2006-08-29 23:34:21
|
Would be neat, but could also be BAAAD JUJU. Because effectively, there
would need to be some kind of security model in place for Templates in
stories otherwise the potential for site pwnage would be very high.
- Cliff
PS. If you wanted to do something like that, you could with a 2-phased
template process approach. Instead of using the standard tags, you could use
custom story tags of your own, ala:
blah blah content content...
<!+ IF !user.is_anon !+>
Attached files:
<ul>
<li><slash-tag></li>
<li><slash-tagforfile#2></li>
</ul>
<!+ END !+>
Where "<!+" and "!+>" are my lame attempts at custom tags. The reason for
the 2-phased approach would solely be ease of implementation. Trying to do
it in one phase right now would give me a massive coronary (considering my
current migraine).
So the end of dispStory() should read something like this:
sub dispStory {
...
if ($constants->{templates_in_stories}) {
my($story, $body) = ($story->{introtext}, $story->{bodytext};
my($tag) = '[% TAGS "<!+" "!+>" %]';
$story = "$tag\n$story";
$body = "$tag\n$body";
slashDisplay($story, {}, \$story);
slashDisplay($body, {}, \$body);
$story->{introtext} = $story;
$story->{bodytext} = $body;
}
return slashDisplay($template_name, \%data, 1);
}
Or something like that. It's be a while so I might be missing the syntax of
a rew things, but that's one way how it could be done. Note that this does
not account for several pieces of the engine that I haven't had a chance to
familiarize myself with... most notably story pre-rendering.
This is only a hint as to how it could be done. I'm sure many of you could
do it better.
But for God's Sake, please read the non-postcript portion of this message
again before attempting to implement something like this ];-}
- Cliff
On 8/29/06, shane <sh...@lo...> wrote:
>
> Ya know what would be cool? Being able to embed Template toolkit
> logic within a story text. ie
>
> start new story
> add content, save it, don't queue to show.
> edit it later, upload file(s) into said story.
> then when you edit the story
>
> blah blah content content...
> [% IF !user.is_anon %]
> Attached files:
> <ul>
> <li><slash-tag></li>
> <li><slash-tagforfile#2></li>
> </ul>
> [% END %]
>
> then you could have story content show only for logged in users, or
> only for subscribers, etc etc.
>
> Shane
>
|
|
From: shane <sh...@lo...> - 2006-08-29 19:07:01
|
Ya know what would be cool? Being able to embed Template toolkit logic within a story text. ie start new story add content, save it, don't queue to show. edit it later, upload file(s) into said story. then when you edit the story blah blah content content... [% IF !user.is_anon %] Attached files: <ul> <li><slash-tag></li> <li><slash-tagforfile#2></li> </ul> [% END %] then you could have story content show only for logged in users, or only for subscribers, etc etc. Shane On Aug 29, 2006, at 2:32 PM, Eric Dannewitz wrote: > I was thinking more like users with an elevated access level (like > approved users) would be able to participate in stories that we could > attach PDFs or JPGs to. I was thinking more along the lines of using > BLOBs.......... > > shane wrote: >> On Aug 25, 2006, at 5:03 PM, Eric Dannewitz wrote: >> >> >>> I still think a great plugin/feature would be to allow approved >>> users to >>> be able to submit files/pictures in replies to articles. >>> >> >> Would what they submitted be attached to the story, or their comment? >> >> It would be trivial to show an image (that the user picked) with each >> user's comment. Just add an entry for them in the editUser template >> (a text input) and then alter the displayComment templates to include >> that user.myimagelink in the html. >> >> Is this safe and adviseable? Lots of sites do this (ie UBB, etc) I >> wouldn't on any sites I run. But that's just me. I think it depends >> on the website, personally. >> >> Shane >> > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general |
|
From: Eric D. <eri...@ja...> - 2006-08-29 18:31:49
|
I was thinking more like users with an elevated access level (like approved users) would be able to participate in stories that we could attach PDFs or JPGs to. I was thinking more along the lines of using BLOBs.......... shane wrote: > On Aug 25, 2006, at 5:03 PM, Eric Dannewitz wrote: > > >> I still think a great plugin/feature would be to allow approved >> users to >> be able to submit files/pictures in replies to articles. >> > > Would what they submitted be attached to the story, or their comment? > > It would be trivial to show an image (that the user picked) with each > user's comment. Just add an entry for them in the editUser template > (a text input) and then alter the displayComment templates to include > that user.myimagelink in the html. > > Is this safe and adviseable? Lots of sites do this (ie UBB, etc) I > wouldn't on any sites I run. But that's just me. I think it depends > on the website, personally. > > Shane > |
|
From: Larson, T. E. <TEL...@we...> - 2006-08-29 15:44:22
|
Alexandre Leroux wrote: > It's getting complex here since there are numerous possibilities. This > could be done directly using "RSS to GeoRSS Converter" from > Geonames.org: http://www.geonames.org/rss-to-georss-converter.html=20 > However, I still feel a custom-made list of locations that can be > ordered as wished would still be more useful/convenient.=20 I agree. I always envisioned a set list of locations, as determined by the site admin. A US-focused site may have each state as an item, as well as "Europe", "Asia", etc. > Humm.. this raises an important issue. Do you want slash to manage the > 'spatial queries' or let the user's GeoRSS reader do the job? I tend to > opt for the GeoRSS reader, since those will evolve/improve way faster > than slash does. The Slash engine could allow basic searches on > archives=20 > using a bounding box. I'm still a very newbie user to RSS altogether. I think the site itself needs to have some basic capabilities. Tim --=20 Tim Larson West Corporation, Interactive TeleServices Eschew obfuscation! |
|
From: Alexandre L. <ale...@ec...> - 2006-08-29 15:37:17
|
Hi, Larson, Timothy E. wrote: > It would have to be defined somewhere on the site, but that would be > done by the admins during setup, and only once. If this GeoRSS thing i= s > that big already, I imagine someone somewhere has already done some of > the work: defining the boundaries of countries, states, cities, > landmasses, etc. You'd just have to pick the ones that work for you, > and fill in the gaps. It's getting complex here since there are numerous possibilities. This=20 could be done directly using "RSS to GeoRSS Converter" from Geonames.org: http://www.geonames.org/rss-to-georss-converter.html However, I still feel a custom-made list of locations that can be=20 ordered as wished would still be more useful/convenient. As for zip code geocoding, I don't know much myself about this, but I=20 know it's pretty easy. See http://technology.slashgeo.org/article.pl?sid=3D06/01/21/054201 and http://technology.slashgeo.org/article.pl?sid=3D06/06/15/1312224 >> In what way? To search the stories? To filter them on an index view >> (as you could filter by author, or by topic?)=20 >=20 > Precisely! That was my original vision for how it would work in that > low-pri request. It would be a fourth piece of data along with topic, > section, and author. One would be able to filter the homepage on > location just as with those three. =20 Humm.. this raises an important issue. Do you want slash to manage the=20 'spatial queries' or let the user's GeoRSS reader do the job? I tend to=20 opt for the GeoRSS reader, since those will evolve/improve way faster=20 than slash does. The Slash engine could allow basic searches on archives=20 using a bounding box. Logically, a GeoRSS feed shows only geolocated stories. Slashdot has=20 only 10 RSS items in its list, this means the slashdot map of georss=20 stories will be most of the time empty. This is bad. However, I guess=20 it's possible to map on the slashsite more than only the published RSS=20 items (see Shane's work-in-progress http://slashgeo.org/maps.pl ).=20 Probably showing the last 25 geolocated stories would make sense. The=20 exact number could be a var. Alex --=20 Alexandre Leroux, M.Sc., Ing. Environnement Canada / Environment Canada Centre m=E9t=E9orologique canadien / Canadian Meteorological Centre Division de la r=E9ponse aux urgences environnementales / Environmental Emergency Response Division ale...@ec... |
|
From: Larson, T. E. <TEL...@we...> - 2006-08-29 15:32:56
|
shane wrote: > On Aug 29, 2006, at 10:16 AM, Larson, Timothy E. wrote: > http://www.lottadot.com/projman.pl?op=3Dview&id=3D15 >=20 > I had started that zipcode plugin, well, a very long time ago. As far > as I recall, it was functional last time I messed with it. If you can, > take a look at it, specifically the schema and the data it contains. > From a quick glance, it looks like it has lat/long information by > zip/city/state. =20 >=20 > However, defining boundaries w/ landmasses et all, er yuk. Don't have time to look right now, but it sounds like it's a step in the right direction. >> Precisely! That was my original vision for how it would work in that >> low-pri request. It would be a fourth piece of data along with topic, >> section, and author. One would be able to filter the homepage on >> location just as with those three. >>=20 >> In fact, 699047 describes an enhancement to home page customization >> that would make use of this field. Since that request, a different >> enhancement has been done, but the idea of using locale is still cool. >> On slashdot, for example, sure it's interesting that some big business >> 10 timezones away is switching operations to Linux, but I'm also >> interested in the much less earthshaking news of an Open Software >> Festival sponsored by a high school club in the next county. By >> adding support for location, big sites can still cover local news >> without "spamming" the non-locals. >=20 > How would this be any different from having a topic-nexus defined that > would hold all stories associated with a certain area?=20 It probably wouldn't be...just a different implementation of the idea. Slash topics have become much more...tag-like I suppose. Having separate fields reinforces the notion that they are different types of data, but from the user perspective of "being able to focus in interesting stuff" it doesn't really matter much. If you can intersect two sets of information to get the interesting subset, that's the important thing. > I bring that solution up, because that doesn't entail modifying any > source code, nor schema. So far, to get the functionality that's > mentioned on the project homepage ( http://lottadot.com/projects/ > slashmaps ) I've not had to modify all that much source code to get > these things to work. Mostly we're using topic_nexus_extras to store > the information, and modified templates to show it. (I did have to > complete the skins editor, and the skins_params, but that's another > topic). =20 >=20 > Inorder for one to be able to essentially search by story.location > (let's assume that's what it's called) efficiently, at first thought I > would think we'd have to modify the stories table schema, add that > column, and then modify all the story code (getStoriesEssentials,etc) > in Slash.pm as well as retool a bit of Slash::Search. Then add a bit > to the edituser page that would let them set the 'region/place' =20 > limiting options (just like they can exclude authors, topics). >=20 > At first glance, that seems like quite a bit of work. Maybe there'd be > a better way to do it. Any thoughts? I'm all ears.=20 Nope, that's pretty much what I thought I'd have to do someday, when I submitted the request. Reworking of topics to allow for multiples and the behavior we have now essentially allows the same thing, and more easily. > Another question I would have, is if you're wanting to associate a > story with a location, how do you let a user exclude? by proximity to > that location? how do you define proximity? lat/long? within XX miles? > but that's US, so you'd want to investigate using an alternative > metric. =20 This is where treating geo information specially would be helpful. If the lat/long input simply gets mapped to a topic (which you can filter on, of course) you lose granularity/flexibility. You could do both, of course. Using a topic nexus would be quick and easy, and give rough idea of location. For most sites I imagine that would be sufficient. Adding support for <proximity> to <location> as well would be a refinement down the road. Flagging things in my immediate vicinity for homepage display (that I otherwise might not care about) would be cool. Tim --=20 Tim Larson West Corporation, Interactive TeleServices Eschew obfuscation! |
|
From: Alexandre L. <ale...@ec...> - 2006-08-29 15:09:03
|
shane wrote: > Well, the container to hold that data w/ the story (or submission) is =20 > there. The code to render that polygon/lines within the google map =20 > isn't there. It'll come with finding freetime :) Don't look too hard for freetime for this ;-) Most GeoRSS readers=20 (web-based or not) only read/allow point coordinates so far. Until=20 GeoRSS is widely used and lines/polygons are supported on both sides=20 (thus including the reader), focusing on points is the logical thing to=20 do. This is true for the GeoRSS part of the plugin. For the Mashup part of the plugin, publishing lines and polygons would=20 be nice, but if you ask me, this isn't a priority!! I don't think we=20 want a full-fledge map server, this is slash, a weblog system!=20 Lines/Polygons/Box could be disabled to keep only points and this would=20 still be great :-) Alex :-) --=20 Alexandre Leroux, M.Sc., Ing. Environnement Canada / Environment Canada Centre m=E9t=E9orologique canadien / Canadian Meteorological Centre Division de la r=E9ponse aux urgences environnementales / Environmental Emergency Response Division ale...@ec... |
|
From: shane <sh...@lo...> - 2006-08-29 15:06:41
|
On Aug 29, 2006, at 10:16 AM, Larson, Timothy E. wrote: > shane wrote: >> On Aug 25, 2006, at 4:59 PM, Larson, Timothy E. wrote: >>> I'd've been happy with a even a list of regions/countries to choose >>> from when submitting stories. How hard is it to reliably map any >>> given coordinate pair to a city/country/state/area? I can certainly >>> see the utility in finding local postings (i.e. "within 200 km of >>> <coord>") but more likely (for my needs) I'd want to focus on >>> "Canada" or "Manhattan" or "Middle East". It certainly would be >>> easier (for non-geography buffs) to submit something like this (i.e. >>> picking from a list, clicking a map region) with stories rather than >>> coordinate pairs. >> >> Where would one obtain such data? > > It would have to be defined somewhere on the site, but that would be > done by the admins during setup, and only once. If this GeoRSS > thing is > that big already, I imagine someone somewhere has already done some of > the work: defining the boundaries of countries, states, cities, > landmasses, etc. You'd just have to pick the ones that work for you, > and fill in the gaps. We may have a stop gap here - http://www.lottadot.com/projman.pl?op=view&id=15 I had started that zipcode plugin, well, a very long time ago. As far as I recall, it was functional last time I messed with it. If you can, take a look at it, specifically the schema and the data it contains. From a quick glance, it looks like it has lat/long information by zip/city/state. However, defining boundaries w/ landmasses et all, er yuk. > >>> So this only applies to RSS, and you won't notice anything when >>> visiting the site otherwise? >> >> No. If a story has geo-data associated with it, it'll show a map. >> Example: >> >> http://industry.slashgeo.org/article.pl?sid=06/07/27/1337233 >> >> It will also add tags into the html such as >> >> <meta name="geo.position" content="51.5;-0.1"> >> >> For more info on the tags: http://www.lottadot.com/projman.pl? >> op=viewissue&id=5 > > Very very very cool. Especially if the map view is customizable. The maps are drawn via a template. The template expects certain things passed to it (map api key, lat, long, points) But other then that, it will be very, very highly mod'able. > >>> If the story has location info, I'd want to see it in the story >>> somewhere. >> >> Where? And what? That's been the big question. > > That depends on the nature of the site. A "hard news" site would > prefix > "Dateline: New York" to the story submission, perhaps. > >>> I think it would be a huge value-add, and very useful, especially > were >>> it given the ability to use "general" location as well as "specific" >>> location. >> >> In what way? To search the stories? To filter them on an index view >> (as you could filter by author, or by topic?) > > Precisely! That was my original vision for how it would work in that > low-pri request. It would be a fourth piece of data along with topic, > section, and author. One would be able to filter the homepage on > location just as with those three. > > In fact, 699047 describes an enhancement to home page customization > that > would make use of this field. Since that request, a different > enhancement has been done, but the idea of using locale is still cool. > On slashdot, for example, sure it's interesting that some big business > 10 timezones away is switching operations to Linux, but I'm also > interested in the much less earthshaking news of an Open Software > Festival sponsored by a high school club in the next county. By > adding > support for location, big sites can still cover local news without > "spamming" the non-locals. How would this be any different from having a topic-nexus defined that would hold all stories associated with a certain area? Then all a user has to do is hit the URL for skin to obtain that content. I bring that solution up, because that doesn't entail modifying any source code, nor schema. So far, to get the functionality that's mentioned on the project homepage ( http://lottadot.com/projects/ slashmaps ) I've not had to modify all that much source code to get these things to work. Mostly we're using topic_nexus_extras to store the information, and modified templates to show it. (I did have to complete the skins editor, and the skins_params, but that's another topic). Inorder for one to be able to essentially search by story.location (let's assume that's what it's called) efficiently, at first thought I would think we'd have to modify the stories table schema, add that column, and then modify all the story code (getStoriesEssentials,etc) in Slash.pm as well as retool a bit of Slash::Search. Then add a bit to the edituser page that would let them set the 'region/place' limiting options (just like they can exclude authors, topics). At first glance, that seems like quite a bit of work. Maybe there'd be a better way to do it. Any thoughts? I'm all ears. Another question I would have, is if you're wanting to associate a story with a location, how do you let a user exclude? by proximity to that location? how do you define proximity? lat/long? within XX miles? but that's US, so you'd want to investigate using an alternative metric. Shane -- My slashcode stuff: http://slash.lottadot.com/ Slashcode faq: http://slash.lottadot.com/slash-faq How to ask a question: http://www.catb.org/~esr/faqs/smart- questions.html#before |
|
From: Larson, T. E. <TEL...@we...> - 2006-08-29 14:17:46
|
shane wrote: > On Aug 25, 2006, at 4:59 PM, Larson, Timothy E. wrote: >> I'd've been happy with a even a list of regions/countries to choose >> from when submitting stories. How hard is it to reliably map any >> given coordinate pair to a city/country/state/area? I can certainly >> see the utility in finding local postings (i.e. "within 200 km of >> <coord>") but more likely (for my needs) I'd want to focus on >> "Canada" or "Manhattan" or "Middle East". It certainly would be >> easier (for non-geography buffs) to submit something like this (i.e. >> picking from a list, clicking a map region) with stories rather than >> coordinate pairs.=20 >=20 > Where would one obtain such data? It would have to be defined somewhere on the site, but that would be done by the admins during setup, and only once. If this GeoRSS thing is that big already, I imagine someone somewhere has already done some of the work: defining the boundaries of countries, states, cities, landmasses, etc. You'd just have to pick the ones that work for you, and fill in the gaps. >> So this only applies to RSS, and you won't notice anything when >> visiting the site otherwise? >=20 > No. If a story has geo-data associated with it, it'll show a map. > Example: >=20 > http://industry.slashgeo.org/article.pl?sid=3D06/07/27/1337233 >=20 > It will also add tags into the html such as >=20 > <meta name=3D"geo.position" content=3D"51.5;-0.1"> >=20 > For more info on the tags: http://www.lottadot.com/projman.pl? > op=3Dviewissue&id=3D5 Very very very cool. Especially if the map view is customizable. As I've alluded to, a non-geog site would probably want a must less detailed map. Perhaps something more icon-sized, merely to give an indicator where the story is from. Essentially, highlight the "area" the location is in, surrounded by enough context for people to know what they're looking at. >> If the story has location info, I'd want to see it in the story >> somewhere. >=20 > Where? And what? That's been the big question. That depends on the nature of the site. A "hard news" site would prefix "Dateline: New York" to the story submission, perhaps. >> I think it would be a huge value-add, and very useful, especially were >> it given the ability to use "general" location as well as "specific" >> location. >=20 > In what way? To search the stories? To filter them on an index view > (as you could filter by author, or by topic?)=20 Precisely! That was my original vision for how it would work in that low-pri request. It would be a fourth piece of data along with topic, section, and author. One would be able to filter the homepage on location just as with those three. =20 In fact, 699047 describes an enhancement to home page customization that would make use of this field. Since that request, a different enhancement has been done, but the idea of using locale is still cool. On slashdot, for example, sure it's interesting that some big business 10 timezones away is switching operations to Linux, but I'm also interested in the much less earthshaking news of an Open Software Festival sponsored by a high school club in the next county. By adding support for location, big sites can still cover local news without "spamming" the non-locals. Tim --=20 Tim Larson West Corporation, Interactive TeleServices Eschew obfuscation! |
|
From: shane <sh...@lo...> - 2006-08-29 13:49:11
|
On Aug 25, 2006, at 1:46 AM, Jesse Lee wrote: > There is a HTML::Parser error take tens of thousouds space in httpd > log, probally 90% of total error logs. Here is the message: > Parsing of undecoded UTF-8 will give garbage when decoding entities at > /usr/local/lib/perl5/site_perl/5.8.6/i686-linux/HTML/PullParser.pm > line 83. > > We've looked into this, but our two coder can't solve it. > > We are still checking others. Weren't you the one who was modifying slash quite a bit to deal with foreign character sets? Maybe that has something to do with the errors you are seeing. BTW, you sent your machine login information to the *listserve*. I hope you've changed your password since. Shane |
|
From: shane <sh...@lo...> - 2006-08-29 13:45:07
|
On Aug 28, 2006, at 9:11 AM, Alexandre Leroux wrote: > > > Larson, Timothy E. wrote: >> This officially takes you to the top of the "my favorite people" >> list. >> :) > > It's really Shane (www.lottadot.com) whom should be in your list. He's > the one coding and I'm merely annoying him with feature requests ;-) I can't take all the credit. I don't know jack about all this geostuff if it weren't for Alex. Shane -- My slashcode stuff: http://slash.lottadot.com/ Slashcode faq: http://slash.lottadot.com/slash-faq How to ask a question: http://www.catb.org/~esr/faqs/smart- questions.html#before |
|
From: shane <sh...@lo...> - 2006-08-29 13:44:54
|
On Aug 25, 2006, at 5:32 PM, Larson, Timothy E. wrote: > Alexandre Leroux wrote: >> You'll be happy Tim, the GeoRSS standard (it's a Open Geospatial >> Consortium standard, see http://www.opengeospatial.org/) allows not >> only points, but lines and polygons. So this means, to take your >> example, you can specify Canada or Middle-East with a polygon. >> This is > > So I'd just have to define my polygons when creating the site, and add > this list to the story submit page? Cool. No. You define the points when you submit the story. Or, you define the points when you are editing a story. See http://slashgeo.org/submit.pl For any nexus: that you want to ask for said coordinates that you want the stories to use the geo data you have to define topic Extras to contain the data. screenshot: http://images.lottadot.com/screenshots/ geotopicextraseditpage.png See http://slash.lottadot.com/article.pl?sid=05/06/15/1449258 for information about using Topic Extras to contain any type of arbitrary data w/ your stories. Shane |
|
From: shane <sh...@lo...> - 2006-08-29 13:37:34
|
On Aug 25, 2006, at 5:24 PM, Alexandre Leroux wrote: > > Hi, > >> more likely (for my needs) I'd want to focus on "Canada" or >> "Manhattan" >> or "Middle East". It certainly would be easier (for non-geography >> buffs) to submit something like this (i.e. picking from a list, >> clicking >> a map region) with stories rather than coordinate pairs. > > You'll be happy Tim, the GeoRSS standard (it's a Open Geospatial > Consortium standard, see http://www.opengeospatial.org/) allows not > only > points, but lines and polygons. So this means, to take your > example, you > can specify Canada or Middle-East with a polygon. This is -already- in > the plugin :-) Well, the container to hold that data w/ the story (or submission) is there. The code to render that polygon/lines within the google map isn't there. It'll come with finding freetime :) > One of the improvements will be to allow adding and > selecting regularly used 'locations' from a list, instead of having to > type the whole coordinates in the story edition page. This droplist > could be provided to users submitting stories. I'd been thinking on this one quite a bit. I envisioned a drop down that onchange would fill in the geopoints data from whatever was selected on the dropdown. > > I wasn't aware there was previous feature request of story > 'regionalization'. Me neither. Shane |
|
From: shane <sh...@lo...> - 2006-08-29 13:35:13
|
On Aug 25, 2006, at 5:03 PM, Eric Dannewitz wrote: > I still think a great plugin/feature would be to allow approved > users to > be able to submit files/pictures in replies to articles. Would what they submitted be attached to the story, or their comment? It would be trivial to show an image (that the user picked) with each user's comment. Just add an entry for them in the editUser template (a text input) and then alter the displayComment templates to include that user.myimagelink in the html. Is this safe and adviseable? Lots of sites do this (ie UBB, etc) I wouldn't on any sites I run. But that's just me. I think it depends on the website, personally. Shane |
|
From: shane <sh...@lo...> - 2006-08-29 13:33:34
|
On Aug 25, 2006, at 4:59 PM, Larson, Timothy E. wrote: > Alexandre Leroux wrote: >> The first feature is adding GeoRSS tags to the RSS feed of the slash >> site. You can learn more about on http://georss.org and >> http://slashgeo.org/search.pl?query=georss. In short, RSS items are >> geolocated, meaning they can be mapped or queried by the user. >> Example: >> show me RSS story items that are within 50 miles of my state. My goal >> was simply to have an automated map my slash stories. It works :-) (I >> can't show you a map of slashgeo.org's mapped georss feed since I >> stopped geocoding stories until feature #2 below stops showing errors >> for geolocated stories :-) > [snip] >> My slash site, slashgeo.org, will definitely use the plugin and >> geolocate every story whenever appropriate. Ultimately, people >> will be >> able to browse stories by location, say, stories that relates to the >> UK. > > Hmmm... > > Slash - Low-Priority Feature Requests, 699051, story regionalization > > I'd've been happy with a even a list of regions/countries to choose > from > when submitting stories. How hard is it to reliably map any given > coordinate pair to a city/country/state/area? I can certainly see the > utility in finding local postings (i.e. "within 200 km of <coord>") > but > more likely (for my needs) I'd want to focus on "Canada" or > "Manhattan" > or "Middle East". It certainly would be easier (for non-geography > buffs) to submit something like this (i.e. picking from a list, > clicking > a map region) with stories rather than coordinate pairs. Where would one obtain such data? > > So this only applies to RSS, and you won't notice anything when > visiting > the site otherwise? No. If a story has geo-data associated with it, it'll show a map. Example: http://industry.slashgeo.org/article.pl?sid=06/07/27/1337233 It will also add tags into the html such as <meta name="geo.position" content="51.5;-0.1"> For more info on the tags: http://www.lottadot.com/projman.pl? op=viewissue&id=5 > If the story has location info, I'd want to see it > in the story somewhere. Where? And what? That's been the big question. > >> What's the overhead? Not much. You simply need to specify a location >> (latitude / longitude coordinates) for your stories. Does it generate >> added-value? Well, to my readers, yes, since we're geospatial >> professionals. To your slashsite? You're the judge! :-) > > I think it would be a huge value-add, and very useful, especially were > it given the ability to use "general" location as well as "specific" > location. In what way? To search the stories? To filter them on an index view (as you could filter by author, or by topic?) Shane |