lurker-users Mailing List for Lurker (Page 3)
Brought to you by:
terpstra
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(6) |
Aug
(8) |
Sep
(4) |
Oct
(2) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
(64) |
May
(49) |
Jun
(60) |
Jul
(32) |
Aug
(3) |
Sep
(19) |
Oct
|
Nov
(12) |
Dec
(17) |
2004 |
Jan
(22) |
Feb
(13) |
Mar
(10) |
Apr
(4) |
May
(18) |
Jun
(10) |
Jul
(18) |
Aug
(24) |
Sep
(18) |
Oct
(27) |
Nov
(9) |
Dec
(23) |
2005 |
Jan
(20) |
Feb
(14) |
Mar
(4) |
Apr
(33) |
May
(27) |
Jun
(13) |
Jul
(5) |
Aug
|
Sep
(17) |
Oct
(29) |
Nov
(35) |
Dec
(8) |
2006 |
Jan
(12) |
Feb
(40) |
Mar
(16) |
Apr
(43) |
May
(11) |
Jun
(63) |
Jul
(22) |
Aug
(23) |
Sep
(16) |
Oct
(105) |
Nov
(50) |
Dec
(26) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
(6) |
Jul
(1) |
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
(6) |
Apr
(16) |
May
(1) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
(3) |
Nov
|
Dec
(5) |
2010 |
Jan
|
Feb
|
Mar
(9) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(4) |
Sep
|
Oct
(5) |
Nov
(4) |
Dec
(14) |
2011 |
Jan
(3) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Robert W. <ro...@a1...> - 2010-11-16 18:45:14
|
Can you be more specific in your question ? Ive just been through a PAINFULL install of Lurker and now that it finally works, Im quite fond of it. More specificity will guide us towards a more precise answer. I am presuming that you already read the lurker.conf file supplied with the code? -----Original Message----- From: ashok.reddy [mailto:ash...@on...] Sent: Tuesday, November 16, 2010 6:48 AM To: lur...@li... Subject: [Lurker-users] Installed lurker2.3, need help on how to configure lists? Hi , I just installed lurker on Cent OS and was able to load the page. Could somebody post the sample config file [ lurker.conf ] required parts to edit , so as achieve like http://archives.free.net.ph/splash/index.html Thanks ashok ---------------------------------------------------------------------------- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Lurker-users mailing list Lur...@li... https://lists.sourceforge.net/lists/listinfo/lurker-users |
From: ashok.reddy <ash...@on...> - 2010-11-16 15:11:42
|
Hi , I just installed lurker on Cent OS and was able to load the page. Could somebody post the sample config file [ lurker.conf ] required parts to edit , so as achieve like http://archives.free.net.ph/splash/index.html Thanks ashok |
From: Wesley W. T. <we...@te...> - 2010-11-04 13:20:27
|
On Tue, Nov 2, 2010 at 1:03 AM, Rebort Woodworth <ro...@a1...> wrote: > I ran make install > Then I ran the lurker index tool > Then I lit up the web gui. > > It sent me to another directory “splash” where it was unable to find an > index.en.html file You need to setup lurker as a 404 Error Handler. This is documented in the install instructions file 'INSTALL'. |
From: Rebort W. <ro...@a1...> - 2010-11-02 00:03:23
|
I ran make install Then I ran the lurker index tool Then I lit up the web gui. It sent me to another directory "splash" where it was unable to find an index.en.html file There isn't must documentation, so I had to guess A LOT. So, what did I do wrong ? Isnt something supposed to generate that index.en.html and put it in the splash directory ? What else am I supposed to do to start web searching the mailbox ? |
From: Wesley W. T. <we...@te...> - 2010-10-09 13:51:35
|
Eek! I made a very bad typo. On Sat, Oct 9, 2010 at 3:47 PM, Wesley W. Terpstra <we...@te...>wrote: > Approach #2 (no down-time): > lurker-search -k ml:example-list -d -f > This should be: lurker-search -d -f ml:example-list ... otherwise it will delete your entire database. ;) > rm /etc/lurker/lists/example-list > rm /var/lib/lurker/example-list > lurker-prune -p > |
From: Wesley W. T. <we...@te...> - 2010-10-09 13:47:23
|
On Sat, Oct 9, 2010 at 2:52 PM, mark david mcCreary <md...@in...>wrote: > Let me clarify a bit better. I have many lists using Lurker, and I just > want to remove one list. > > Called example-list > > So I'm thinking that these three directories > /var/lib/lurkers/example-list > /var/www/example-list > /etc/lurker/lists/example-list > Ok. There are two ways to remove a single list. Approach #1 (recovers the most space possible): rm /etc/lurker/lists/example-list lurker-regenerate lurker-prune -p Approach #2 (no down-time): lurker-search -k ml:example-list -d -f rm /etc/lurker/lists/example-list rm /var/lib/lurker/example-list lurker-prune -p |
From: mark d. m. <md...@in...> - 2010-10-09 12:53:52
|
On Oct 9, 2010, at 5:24 AM, Wesley W. Terpstra wrote: > On Tue, Oct 5, 2010 at 10:44 PM, mark david mcCreary <md...@in...> wrote: > I'm wanting to completely remove a lurker archive. > Looks like there are 3 files or directories containing lurker data. > > Do you want to remove the archive for just example-list, or the entire lurker archive for all lists? Wesley Thanks for replying. Let me clarify a bit better. I have many lists using Lurker, and I just want to remove one list. Called example-list So I'm thinking that these three directories /var/lib/lurkers/example-list /var/www/example-list /etc/lurker/lists/example-list contain all the specific data for the list called example-list. And removing them is a big part of the solution. I'm wondering if there is something else that needs to be done. Sort of like some central repository or database that needs to be told example-list no longer exists. Or is each list pretty much stand alone. Thanks for your help and thanks for writing and releasing Lurker ! mark |
From: Wesley W. T. <we...@te...> - 2010-10-09 10:46:47
|
On Tue, Oct 5, 2010 at 10:44 PM, mark david mcCreary <md...@in... > wrote: > I'm wanting to completely remove a lurker archive. > Looks like there are 3 files or directories containing lurker data. > Do you want to remove the archive for just example-list, or the entire lurker archive for all lists? |
From: mark d. m. <md...@in...> - 2010-10-05 21:06:32
|
I'm wanting to completely remove a lurker archive. Looks like there are 3 files or directories containing lurker data. So can I just rm -rf /var/lib/lurkers/example-list rm -rf /var/www/example-list rm -rf /etc/lurker/lists/example-list or do I need to tell lurker something to flush that list from his memory. Thanks for any insights. mark -- mark david mcCreary Internet Tools, Inc. 1302 Waugh Dr. #438 Houston, Texas 77019 md...@in... 713-527-9393 |
From: Jonas M. <jo...@fr...> - 2010-08-26 18:16:08
|
Hey David, On 25/08/2010 David Eves wrote: > Is there a build target to create a distribution or deployment version > of lurker? I don't have gcc on my production server and would like a > way to build on a different host and then install. > > I've read INSTALL and README and if this is explained somewhere I've missed > it. if you're using one of the major linux distributions, then lurker should be available as distribution package. configuring and building/compiling lurker on build host and installing on production host should work as well as long as same hardware architecture and binary compatible library versions are used. greetings, jonas |
From: David E. <de...@po...> - 2010-08-25 22:41:47
|
Is there a build target to create a distribution or deployment version of lurker? I don't have gcc on my production server and would like a way to build on a different host and then install. I've read INSTALL and README and if this is explained somewhere I've missed it. Thanks, -- David Eves |
From: Wesley W. T. <we...@te...> - 2010-08-09 18:18:20
|
On Mon, Aug 9, 2010 at 11:42 AM, <lu...@pl...> wrote: > maybe this is a strange question. (to an archiving software) > But is there a (easy :-) ) way to delete,"cleanup" old messages/threads > which > are, lets say, 1 year old? > Unfortunately, not so easily. lurker-search can mark messages as deleted based on a search criteria. lurker-regenerate drops messages marked as deleted during reindexing. This suggest a two-step approach where you tag all the old messages as deleted and then run lurker-regenerate to reclaim the space. The problem is that lurker-search does not support searching based on date. You can readily delete all the emails by a given author or to a particular list, but not based on age. Thus you're stuck with painful approaches like: One solution would be to decompress the mailbox files (gzip -c /lurker-db/mailinglist > /tmp/mailinglist). Then open a text editor and remove all the messages from the start of the file up to a message with an acceptable date (they should be sorted oldest to newest). Repeat for each mailing list. Nuke your database and run lurker-index on your newly trimmed mailboxes. Obviously, this approach is suboptimal. It would be relatively easy to add a date range clause to lurker-search, and I might be convinced to do so. Then you could use this enhanced lurker-search to tag old email and lurker-regenerate to reclaim the space. |
From: <lu...@pl...> - 2010-08-09 10:24:39
|
Dear List, maybe this is a strange question. (to an archiving software) But is there a (easy :-) ) way to delete,"cleanup" old messages/threads which are, lets say, 1 year old? thanks a lot for any hint Bert |
From: Jonas M. <jo...@fr...> - 2010-06-19 12:03:07
|
Hey, On 19/06/2010 Graham Perrin wrote: > Bug 1 > ===== > > 1. <http://lurker.clamav.net/list/clamav-users.en.html> > > 2. command-click any message > > Expected > -------- > > The message should open in a new tab. > > Actual > ------ > > The message opens in the same tab. > > > Bug 2 > ===== > > 1. <http://archives.free.net.ph/thread/20100518.184908.4ea51cfa.en.html> > > 2. command-click the icon of any message > > Expected > -------- > > The message should open in a new tab. > > The window in which the user command-clicked should remain unchanged. > > Actual > ------ > > The message opens in a new tab. > > The window in which the user command-clicked changes, to repeat the same message. > > > Environment > =========== > > Safari 5.0 (6533.16) in Mac OS X 10.6.4 (Build 10F569). I can reproduce this bug with Iceweasel 3.5.9-3 on Debian squeeze/sid. greetings, jonas |
From: Graham P. <gra...@gm...> - 2010-06-19 02:07:01
|
Bug 1 ===== 1. <http://lurker.clamav.net/list/clamav-users.en.html> 2. command-click any message Expected -------- The message should open in a new tab. Actual ------ The message opens in the same tab. Bug 2 ===== 1. <http://archives.free.net.ph/thread/20100518.184908.4ea51cfa.en.html> 2. command-click the icon of any message Expected -------- The message should open in a new tab. The window in which the user command-clicked should remain unchanged. Actual ------ The message opens in a new tab. The window in which the user command-clicked changes, to repeat the same message. Environment =========== Safari 5.0 (6533.16) in Mac OS X 10.6.4 (Build 10F569). |
From: Claudio F. <cla...@ne...> - 2010-04-26 14:20:35
|
Hi all! I have a big Lurker archive and a big trouble: I cant read it! Let me explain: the archive is a backup that comes from an old server, so I setup a virtual machine (Centos 5.3) and I installed Apache and Lurker 2.1 (the same version of the old installation). I copied the archive, then I configured Apache and Lurker. Result: it works smoothly EXCEPT when I open a message: Author, Date and Subject are ok but the content is unreadable (in place of text there are random chars). Note: - I tried to rebuild all with lurker-regenerate: it erased 99.99% of messages. The few email still here are correctly readable. - I tried both with Lurker 2.3 and Lurker 2.1 - Lurkers configuration is the old one - It isnt a charset (web server related) problem - When I compile Lurker I have some warning (like ../mimelib/mimelib/config.h:39:1: warning: "DW_UNIX" redefined or <command line>:1:1: warning: this is the location of the previous definition) but except this it compiles smoothly Anyone can help me? I googled a lot but I didnt found anything useful. Thank you very much, Claudio! |
From: Razvan D. <raz...@cs...> - 2010-03-22 09:47:55
|
Hi! I'm using lurker as an archiver for various lists under Mailman. However, I'm having trouble when configuring it as an external archiver in Mailman. I'm using: * Debian Lenny --- cursuri:~# cat /etc/issue Debian GNU/Linux 5.0 \n \l --- * Mailman 2.1.11 --- cursuri:~# dpkg -l mailman ... ii mailman 1:2.1.11-11 Powerful, web-based mailing list ... --- * Lurker 2.1 --- cursuri:~# dpkg -l lurker ... ii lurker 2.1-13 archive tool for mailing lists with --- I've added the following configuration lines to the /etc/mailman/mm_cfg.py file: --- cursuri:~# grep -C 3 PUBLIC /etc/mailman/mm_cfg.py # Here lurker is used as external archiver. For compatibility reasons, the # wrapper lurker-index-lc is used instead of lurker-index. It converts the # list name to lowercase. #PUBLIC_EXTERNAL_ARCHIVER = '/usr/bin/lurker-index-lc -l %(listname)s -m' #PRIVATE_EXTERNAL_ARCHIVER = '/usr/bin/lurker-index-lc -l %(listname)s -m' # link to lurkers list overview PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/lurker/list/%(listname)s.html' --- At this point, I've commented out the PUBLIC_EXTERNAL_ARCHIVER line. However, when enabling it (and restarting Mailman), I get the following log message when delivering a mail to a list under Mailman/lurker: --- cursuri:~# cat /var/log/mailman/error Mar 22 10:31:28 2010 (10624) external archiver non-zero exit status: 74 --- Has someone an idea about what the possible error could be? I see the 74 exit code is for EBADMSG: --- cursuri:~# grep 74 /usr/include/asm-generic/errno.h #define EBADMSG 74 /* Not a data message */ --- I've checked the source code but there's no EBADMSG return value: --- razvan@valhalla:/tmp/lurker-2.3$ grep -r EBADMSG . razvan@valhalla:/tmp/lurker-2.3$ ls --- Is there another place I should be looking into? Many thanks, Razvan |
From: Nigel M. <nig...@de...> - 2010-03-21 21:10:08
|
On 21 Mar 2010, at 20:09, Alexandru Juncu wrote: > Is there an option to turn of the showing of the emails? # Tell lurker to hide email addresses. # # Normally, lurker includes all email addresses in the source email message. # Some people feel that this helps spammers with email address harvesting. # However, removing addresses makes your archive less useful to visitors. # # This will also try to obscure email addresses found in message bodies. # This option will not affect display of mailing list or admin addresses. # hide_email = on Nigel. |
From: Alexandru J. <ale...@ro...> - 2010-03-21 20:09:33
|
Hello. We have recently installed lurker for our mailing lists. It's very nice to have around. But there is one problem that we spotted: the email addresses of the users on our mailing list appears public in the Archive as a mailto: link. It is very easy for a spam bot to build a spam database with them. Is there an option to turn of the showing of the emails? Thank you. -- Alex Juncu Romanian Open Source Education http://rosedu.org |
From: Adrian B. <ad...@sm...> - 2010-03-20 16:49:40
|
On Sat, Mar 20, 2010 at 09:23:19 -0700 (-0700), Wesley W. Terpstra wrote: > The things you need to backup: > /var/lib/lurker <-- the actual database > /var/www/lurker/ui <-- the frontend > /var/www/lurker/imgs <-- the icons > The rest is all just cache. That's fab :-) I really appreciate all your help! My ADSL provider will now stop yelling at me. Adrian -- bitcube.co.uk - Expert Linux infrastructure consultancy Puppet, Debian, Red Hat, Ubuntu, CentOS |
From: Wesley W. T. <we...@te...> - 2010-03-20 16:23:27
|
On Fri, Mar 19, 2010 at 12:14 AM, Adrian Bridgett <ad...@sm...> wrote: > Not quite. I should have explained more clearly. Currently (lacking > any better information) I backup everything lurker touches: > > 7916 /var/www/lurker/attach > 84 /var/www/lurker/imgs > 4 /var/www/lurker/index.html > 256 /var/www/lurker/list > 0 /var/www/lurker/lurker.docroot > 4 /var/www/lurker/mbox > 85148 /var/www/lurker/message (pruned somewhat) > 125132 /var/www/lurker/mindex > 4 /var/www/lurker/search > 68 /var/www/lurker/splash > 66024 /var/www/lurker/thread (pruned somewhat) > 0 /var/www/lurker/ui > 4 /var/www/lurker/zap > 63164 /var/lib/lurker/ > The things you need to backup: /var/lib/lurker <-- the actual database /var/www/lurker/ui <-- the frontend /var/www/lurker/imgs <-- the icons The rest is all just cache. Looking at the lurker-prune manpage it sees to say the whole of > /var/www/lurker is the cache? Is that correct? Mostly. See above. > To be honest if I can > drop the message/mindex/thread folders from teh backups that'd make a > huge difference (just backing it up to home). > It would also mean there is very little benefit to disabling foreign languages. |
From: Jonas M. <jo...@fr...> - 2010-03-19 10:12:31
|
hey, got following bugreport recently against lurker in the debian bts. greetings, jonas ----- Forwarded message from Andy Smith <an...@st...> ----- Date: Fri, 19 Mar 2010 03:16:06 +0000 From: Andy Smith <an...@st...> To: Debian Bug Tracking System <su...@bu...> Subject: Bug#574568: lurker: "zap" link to delete email from archive is javascript GET, causes bad interactions with crawlers Reply-To: Andy Smith <an...@st...>, 57...@bu... Package: lurker Version: 2.1-13 Severity: minor By default, lurker includes a javascript image link on each email that looks something like this: javascript:trash('http://lists.example.com/lurker/zap/20100318.113155.0e0de092.en.html'); Because this link just appears to a non-human client like any other page link, crawlers such as googlebot will attempt to follow it. At the very least this causes log spam of "Password:" prompt and then failed password notification, and of course the wasted bandwidth of having the bots follow all these links, which appear on every page of the archive. It may be possible to keep bots out with a suitable robots.txt, e.g.: User-agent: * Disallow: Crawl-delay: 5 Disallow: /lurker/zap/ However, this seems to have limited effect even against googlebot. In general using simple GET URLs for things which have an action (i.e., deleting an email from the archive) is bad form. This should really be done as a proper form via POST, then bots would ignore it. It might also be nice to document a simple way to remove the link entirely. This looks promising: http://www.terpstra.ca/lurker/message/20060423.233328.bd5efdb8.en.html Cheers, Andy -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-xen-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages lurker depends on: ii adduser 3.110 add and remove users and groups ii apache2 2.2.9-10+lenny6 Apache HTTP Server metapackage ii apache2-mpm-prefork [h 2.2.9-10+lenny6 Apache HTTP Server - traditional n ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libmimelib1c2a 4:3.5.9-5 KDE mime library ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 ii passwd 1:4.1.1-6+lenny1 change and administer password and ii ucf 3.0016 Update Configuration File: preserv ii xsltproc 1.1.24-2 XSLT command line processor ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime lurker recommends no packages. Versions of packages lurker suggests: ii gnupg 1.4.9-3+lenny1 GNU privacy guard - a free PGP rep ii mailman 1:2.1.11-11 Powerful, web-based mailing list m -- debconf information excluded -- http://bitfolk.com/ -- No-nonsense VPS hosting "It is I, Simon Quinlank. The chief conductor on the bus that is called hobby." -- Simon Quinlank ----- End forwarded message ----- |
From: Adrian B. <ad...@sm...> - 2010-03-19 07:15:12
|
On Thu, Mar 18, 2010 at 16:21:09 -0700 (-0700), Wesley W. Terpstra wrote: > On Thu, Mar 18, 2010 at 9:08 AM, Adrian Bridgett <ad...@sm...> wrote: [snip] > Am I understanding correctly that you want lurker to refuse requests for > pages rendered with the UI elements in other languages? Many thanks for such a fast and helpful reply :-) Not quite. I should have explained more clearly. Currently (lacking any better information) I backup everything lurker touches: 7916 /var/www/lurker/attach 84 /var/www/lurker/imgs 4 /var/www/lurker/index.html 256 /var/www/lurker/list 0 /var/www/lurker/lurker.docroot 4 /var/www/lurker/mbox 85148 /var/www/lurker/message (pruned somewhat) 125132 /var/www/lurker/mindex 4 /var/www/lurker/search 68 /var/www/lurker/splash 66024 /var/www/lurker/thread (pruned somewhat) 0 /var/www/lurker/ui 4 /var/www/lurker/zap 63164 /var/lib/lurker/ > If you have files appearing in other languages in your cache, it's because > someone is actually loading pages in that language (or google found them). > That said, you might want to reconsider disabling the feature as people are > actually using it. Both message and thread directories contain *.ja.html, *.de.html etc - I would like to stop these from being created. I can't figure out how to disable it though (ah, your instructions for main.cpp - excellent - that's what I was after). FYI lurker.conf says: archive[en] = Hampshire LUG Mailing List Archive group = lists heading = Mailing Lists list = hampshire title = Hampshire LUG language = en address = ham...@ma... link = http://mailman.lug.org.uk/mailman/listinfo/hampshire description = Hampshire Linux User Group Mailing List. This is the new public mailing list which replaced a closed mailing list in November 2006. > Don't backup anything in the lurker >CACHE< folder. It will all be > regenerated on demand from the database. Also, if you have a lot of files in > your cache folder, you might want to confirm you run lurker-prune from a > cron job. Looking at the lurker-prune manpage it sees to say the whole of /var/www/lurker is the cache? Is that correct? To be honest if I can drop the message/mindex/thread folders from teh backups that'd make a huge difference (just backing it up to home). lurker-prune is being called - all files are less than a day old. Maybe it's just google scanning it all. > That said, if you still really want to forbid lurker from generating pages > with a non-en.html extension, you will need to edit the C++. In > render/main.cpp go to line 130 and add something along the lines of: > > if (out.language != "en") error("Bad language", out.language, "Only English > is allowed."); Fabulous, thanks! Adrian -- bitcube.co.uk - Expert Linux infrastructure consultancy Puppet, Debian, Red Hat, Ubuntu, CentOS |
From: Wesley W. T. <we...@te...> - 2010-03-18 23:51:59
|
On Thu, Mar 18, 2010 at 9:08 AM, Adrian Bridgett <ad...@sm...> wrote: > Hi there, I've spent a while going through the documentation and even > the code but I'm stuck. > > I'd like to stop lurker from generating all the languages in message/ > and thread/ - I just want English. Is this possible? > Am I understanding correctly that you want lurker to refuse requests for pages rendered with the UI elements in other languages? Removing say the de.xml file will just make lurker fall back to English for .de.html files. Setting 'no' in lang.xml will just remove it from the language drop-down menu. You can't (easily) stop lurker from creating files that people request. However, if you set the languages to 'no' in lang.xml, presumably people will stop loading pages in other languages. If you have files appearing in other languages in your cache, it's because someone is actually loading pages in that language (or google found them). That said, you might want to reconsider disabling the feature as people are actually using it. Still no joy :-( I'm trying to cut down how much we backup. > Don't backup anything in the lurker >CACHE< folder. It will all be regenerated on demand from the database. Also, if you have a lot of files in your cache folder, you might want to confirm you run lurker-prune from a cron job. That said, if you still really want to forbid lurker from generating pages with a non-en.html extension, you will need to edit the C++. In render/main.cpp go to line 130 and add something along the lines of: if (out.language != "en") error("Bad language", out.language, "Only English is allowed."); |
From: Adrian B. <ad...@sm...> - 2010-03-18 16:25:25
|
Hi there, I've spent a while going through the documentation and even the code but I'm stuck. I'd like to stop lurker from generating all the languages in message/ and thread/ - I just want English. Is this possible? I've tried: - setting all languages except "en" to "no" in /etc/lurker/ui/lang.xml - removing all languages except "en" in /etc/lurker/ui/lang.xml - removing all language files from /etc/lurker/ui except en.xml Still no joy :-( I'm trying to cut down how much we backup. Thanks, Adrian -- bitcube.co.uk - Expert Linux infrastructure consultancy Puppet, Debian, Red Hat, Ubuntu, CentOS |