Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Promoting Perl events on other Perl sites

by szabgab (Priest)
on Nov 08, 2007 at 12:03 UTC ( #649697=perlmeditation: print w/ replies, xml ) Need Help??

Many people not in the community reach various Perl related sites (such as the two search sites, Perl Monks and many others) by mistake. Probably using Google.

It would be nice if those sites or for that matter any individual web site could promote Perl, the Perl community events and the Perl Mongers in an easy way.

It would be nice if someone could just add a piece of simple code to his web site (maybe in javascript?) that would display a link to some other Perl site.

It might be cool if it recognized the country where the visitor is from and displayed a link to the nearest Perl Mongers group or to the next Perl event that will take place in that country (or continent).

For example it would be great for me if every visitor from Israel who reaches one of the Perl sites by some way (e.g. Google search) would see a link to the Perl Workshop in Israel we are going to have on 31 December 2007

Anyone knows about such code?

Anyone with enough tuits to implement such code?

ps. I know about Adwords but it costs money and we have plenty of empty web pages that could be used free of charge for promoting ourselves.
ps2. I know about the Perl Events Calendar of brian_d_foy
ps3. I know about Apache::GeoIP
ps4. and there is WWW::AdServer too

Update

the Perl Community AdServer is now working. It can be seen in action on CPAN::Forum and on my personal site

Comment on Promoting Perl events on other Perl sites
Re: Promoting Perl events on other Perl sites
by moritz (Cardinal) on Nov 08, 2007 at 12:54 UTC
    I quite like that idea.

    And if you really want to push that, you'll provide a web service that creates such a snippet. (If I get the tuits I'll do it, but that might take quite some time).

    For example you provide a service at http://mydomain.com/perllinks?ip=$ip;links=5, and that returns just a snippet of valid xhtml that contains up to 5 perl links, complete with nice css classes.

    Then anybody who wants to provide such a service just has to query your server.

    Of course, the more possibilities you provide the more people will adopt that.

    Update Nice work, really. I'd prefer a pure html version though (I kinda hate javascript), but it's a start ;-)

    In the copy&paste code you should use absolute URLs, so that it works on different hosts as well.

    The generated HTML lacks some markup (lists should made as <ul>...</ul>) and css classes.

    On the homepage I'm missing a contact link, for example to propose new links and for technical questions/suggestions.

    I know it's a beta, so maybe I'm stating the obvious...

      Yes, I am adding the contact info and some text to explain what it is about and how to use.

      I am not sure how could one provide pure HTML version?

      I can provide a link on the server that would send some ads as pure HTML but how would you integrate them?

        I would integrate them by fetching them via LWP or something similar. Or perhaps per SSI, I don't know if that works. Or perhaps in an iframe. There are plenty of possible ways ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://649697]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-12-23 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls