Re: Akismet PyBlosxom Plugin

Michael Olson <mwolson-mXXj517/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
"Benj. Mako Hill" <[email protected]> writes:

> Or, if you read your email on one computer and have your PyBlosxom setup
> on another, you could just run:
>
>   grep -e '^Comment location: '|colrm 1 18|xargs ssh myhost /mypath/scripts/akismet_submit_spam.py -d
>
> You could even make a little shell script called "remove_blogspam"
> containing the code above that you pipe said commands to.

Good idea, I hadn't thought of that.

> If you don't mind, I'd rather include that one-line shellscript than
> the whole second program. Seems easier than maintaining two
> overlapping and almost identical scripts. Also, there are a few
> pieces of information (e.g., the IP) that are in every comment file
> but not included in the email.

That's fine.

A minor quibble: the IP is indeed included with the email, if you're
using the latest pyblosxom release.  It's in the Hostname field,
parenthesized (though maybe they do something special with IPs that
don't resolve to hostnames ... not sure).

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
 |_] | \| |_| Reclaim your digital rights by eliminating DRM.
      See http://www.defectivebydesign.org/what_is_drm for details.

-------------------------------------------------------------------------
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

_______________________________________________
pyblosxom-users mailing list
pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFQXUH+1Ho2POo0xkRAijrAJ9nHhqaT+ftcYEqgYryigjnq2vkyQCgm4Hr
+ykTlX9cX2fBDNYdGbz5l+M=
=aiRf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.