geeky

geoblog

would you like to have your blogs show up here? i think it’s rather fun. to do so, you first should make sure your blogging tool pings weblogs.com whenever you update. i know livejournal, blogger, b2, movabletype, pMachine and some other popular blogging tools already have this function built in. if you are unsure, update your blog and see if your url shows up on weblogs.com. after that, you need three more codes in your header area

<meta name=”ICBM” content=”41.643813, -91.566882″ />
<meta name=”DC.title” content=”pure-essence.net” />
<link rel=”alternate” type=”application/rss+xml” title=”RSS” href=” http://regretless.com/b2rss.php&#8221; />

first shows your geographical location. it contains your longitudes and latitudes. if you wish to find yours, check this page for some tools to obtain it. i used ProjectLocate. but i think that’s for USA only.

the second is your website title. self explanatory.

the third is your rss url. some common rss conventions:
b2 – yoururl/b2rss.php
movabletype – yoururl/xml.php
livejournal – livejournal.com/users/yourname/data/rss
pMachine – yoururl/index.xml (unsure)
if you know others, feel free to post in the comments.

that should get your blog fit for their criteria to be listed. whether it truly lists yours is another issue 🙂 i have mine all customized. i think it’s fun to see mine on that page.

17 thoughts on “geoblog

  1. about your perl… you can’t print @s, they’re like arrays in php i am pretty sure. i mean i join mine so i assume so. i forget, the last time i worked with them was january, LOL.

    foreach my $i (@array) {
    print “$i\n”;
    }

      1. i think it is like auto print_r tho… like when i do stuff wrong in perl, it simply stops pasring code and does not give me an error (on content-type… scripts), so who knows? :\ anyways i hope you found out the answer =)

        1. i tried your suggestion, the conclusion is that there is something wrong with the windows server. both print @messages and your code works fine on my unix server but once i put the exact code on windows server, it comes out blank 😦

          1. do you have it sending errors to the browser?

            #!/usr/bin/perl
            use CGI::Carp qw(fatalsToBrowser);
            print “Content-type:text/html\n\n”;

            that IS really weird tho. i think windows just has something against perl, lol. isn’t there a perl-ish language/version that was written just for windows? maybe not, i dunno, i thought i read it somewhere but yahoo does not think so. hehe.

            anyways, see if the array actually exists! i seem to be the #1 fan of that error. try printing $array[0] (you can access elements in an array like that, notice the $ instead of the @). see how that works. =)

          2. “And as it turned out it said Cannot open the file. So I don’t have permission to read from (probably write to as well) text files on this server. ”

            hahaha, i should read your perl blog before i post comments!! *snicker*

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s