| Dave's Simple Weblogs.com and Greymatter Hack
version 0.1 |
| Weblogs.com and
greymatter, together at last
Here's how I did it: Open up gm.cgi for editing. You will need to make two changes. At the top of the file, you will see two lines like this near the very top of the file:
Add the following two lines:
between the two lines above. OK, now it is ready for the main change. Search for the line that looks like this (but without the
weird spacing issues I'm having here):
It should be around line 3410, according to my version of emacs, but I'm not sure how much you can trust line numbers these days. It is at the end of the gm_savenewentry method, if that helps. Anyways, right before that line, insert the following lines:
Except, change the lines with $myweblogname and $myweblogurl to point to your weblog. You are all set - every time you add an entry via greymatter, it will automatically ping Weblogs.com via the HTML form interface. If you have suggestions for improving these instructions, or have trouble getting it to work, let me know. If any real perl hackers want to improve upon this, please let me know. An important note: For Popup Posts: |
|
This is all copyright 2001 by me. Please be nice and attribute any fair-use of this. GreyMatter rules. Weblogs.com is pretty darned nice, too. |