Manda ad un amico anche con WordPress.com

In barba a tutti i consigli per ottimizzare il posizionamento del proprio blog nei motori di ricerca, il modo migliore per ottenere traffico “di qualità” è e rimane il passaparola. Spesso ci s’imbatte in siti e blog che offrono ai propri lettori un link attraverso il quale inviare a terzi una pagina o un post per posta elettronica semplicemente attraverso un semplice formulario, cosa che i blog WordPress.com non possono fare.

Tra gli utenti WordPress.com c’è chi ha scoperto un’ottima alternativa, fornendomi l’ispirazione per questo post. La soluzione che vi propongo utilizza un cosiddetto FeedFlare di FeedBurner, quindi, per seguire le istruzioni di questo post bisognerà innanzitutto “bruciare” il feed del proprio blog con FeedBurner.

Una volta registrato il proprio feed su Feedburner, occorre attivare la funzionalità: su “Optimize” > “FeedFlare” si deve spuntare l’opzione “Email this” per “site” (attivandola per il feed, si inserirà il link anche nel feed del proprio blog offerto da FeedBurner, non è obbligatorio, ma non guasta), come da immagine.
FeedBurner FeedFlare email this
Fatto questo, non rimarrà che inserire il link apposito nei post per i quali si desidera offrire questa opzione. Il link dovrà essere del formato:

<a href=”http://www.feedburner.com/fb/a/emailFlare?itemTitle=titolo del post&uri=permalink del post“>Manda ad un amico »</a>

dove:

  • titolo del post va sostituito con il titolo del post in questione e
  • permalink del post va sostituito con il link al suddetto post

per facilitarmi e facilitarvi il compito, ecco qui una bookmarklet per inserire il link “automaticamente”. La bookmarklet richiede l’inserimento dello slug del post e del titolo e, se utilizzata in modalità “codice”, inserisce il link in fondo al post, esattamente come la bookmarklet per il social bookmarking.

javascript:(function(){var oggi=new Date();var anno=oggi.getFullYear();var mese=oggi.getMonth()+1;if (mese < 10){mese='0'+mese};var giorno=oggi.getDate();if (giorno < 10){giorno='0'+giorno};var tkns=location.href.split('/');var bhome='';for(var i=0;i<3;i++){bhome+=(tkns[i]+'/');}var slug=prompt('Slug del post:','');var perml=encodeURI(bhome+anno+'/'+mese+'/'+giorno+'/'+slug+'/');var titolo=encodeURI(prompt('Titolo del post',''));var manda='<a href="http://www.feedburner.com/fb/a/emailFlare?itemTitle='+titolo+'&amp;uri='+perml+'" title="Manda ad un amico">Manda ad un amico &raquo;</a>';document.getElementById('content').value+=(manda);}())

Ed ecco il risultato:

Manda ad un amico »

29 Risposte a “Manda ad un amico anche con WordPress.com”

  1. Netty Gritty Dice:

    hey there,
    although i don’t understand the language, i could figure out that you have figured out a bookmarklet that will automatically create “email this” url’s, right? that’s what i wanted to have, only i am not smart enough for that! :(
    thanks for the bookmarklet! :D

  2. Isadora Dice:

    Well, you gave me the idea, so I’m glad I can “give back” something :-) if you need any help with the bookmarklet, just ask (it works only on wordpress.com blogs and only in code mode on the edit post page)!

  3. Netty Gritty Dice:

    but um, how do i use the bookmarklet? can you explain in english, please? {begging on knees}

    also, why not build a firefox extension that will make “email this” from feedburner a snap for wordpress.com bloggers? that would be a cool ff extension, don’t you think? :D

  4. Netty Gritty Dice:

    oopsie, you were replying while i was writing again! ok, yes, please do help! i was trying to get your page translated at google and needed the permalink and found your response!

  5. Isadora Dice:

    I’m thinking about writing greasemonkey scripts, but I don’t like that much to depend from one special browser…

    As for using the bookmarklet:
    1. copy the code using the “copy to clipboard” link
    2. create a new bookmark in your browser and paste the code in the address (url) field
    3. Write a post 8-)
    4. Switch to code (if you use the visual editor, otherwise skip this step)
    5. launch the bookmarklet
    6. Insert the post slug (the bookmarklet builds the permalink by itself)
    7. Insert the post title
    That’s it: the boomarklet will add the link at the end of your post.

    (Maybe you should replace “Manda ad un amico” with “email this” or whatever you like, before you save the bookmarklet).

  6. Netty Gritty Dice:

    ff extensions are workable in flock, too! that makes two browsers. now will you make one? :mrgreen:
    i have been to the greasemonkey site today. but felt quite lost. you see i’m not a geek, although i have geeky desires!

    which reminds me, point no 5 is lost on me!
    although i don’t understand the whole process i do understand that this is not as automatic as a ff extension could be!

    please don’t get me wrong. i am not insisting on you building an ff extension, it’s just that ff extensions are easy enough even for me! so i am drooling at the thought of it!

  7. Isadora Dice:

    I have no idea on how to make ff extensions, but I can have a look :-)
    Point no. 5: in order to launch the bookmarklet just click on the bookmark you created in point no 2. You will be prompted to enter the slug and then the title.
    Here you’ll find an explanation in much better english (sorry…): http://lorelle.wordpress.com/2005/10/14/a-tagging-bookmarklet-for-wordpress-and-wordpresscom-users/

  8. Netty Gritty Dice:

    ur english is quite ok, i don’t exactly expect you to be shakespeare! :lol:
    ok, i will visit lorelle.

    by the way, i just remember a point about post slugs – learned back when i was mad about social bookmarking workarounds for wordpress.com blogs.
    thing with post slug is, it can’t handle future posts! future posts are very important for me and my future art blog! that’s where i need blog promotion most! i want more and more people to enjoy my artworks! :mrgreen:

  9. Netty Gritty Dice:

    http://developer.mozilla.org/en/docs/Custom_Toolbar_Button

    if i were smarter i would have made a bookmarklet with help from this page! although i am creative, i don’t have the technical expertise! :(

    i badly want to learn javascript! maybe it’s me who is gonna write the feedburner “email this” code for firefox! :mrgreen:

  10. Alberto Dice:

    Questo si che lo voglio provare!
    Mi sembra un ottimo modo per far conosce il proprio blog!
    Provo subito!
    Grazie ancora Isadora, i tuoi consigli sono sempre ottimi!

  11. Usare Wordpress… C’est Plus Facile! « Alberto La Rocca Dice:

    [...] dove poter inviare ad un amico il post appena letto. Per maggiori informazioni vi rimando al suo post, così potrete prendere [...]

  12. Isadora Dice:

    Netty Gritty, for the slug, well, you can create one manually and insert it in the post slug field, then save. I guess that for future posts you still have some manual work, because the permalink contains the date of publishing (and not of writing). I’ll have a look at the firefox extensions, it doesn’t look difficult at a first glance.

    Ciao Alberto, spero che almeno questa funzioni. Purtroppo non funzionerà con alcune versioni di IE, perché ha qualcosa come 647 caratteri, quindi c’è il solito problema. Ma magari ne faccio una extensio per Firefox, come si discuteva qui sopra… :-)

  13. Netty Gritty Dice:

    i think i am getting the hang of it! it might take me a few days to do the post. hang on, i can do it!! {overjoyed at my own geekiness} :D

  14. Netty Gritty Dice:

    hello again!
    i have been trying to create another bookmarklet that doesn’t require post slugs (keeping future posts in mind) – modeled after the socializer bookmarklet. i modified the code and everything turned out just fine. except one thing – i can’t get to show the post title in the form! it just says this article.
    see an example

    any idea why this is happening?

  15. Netty Gritty Dice:

    hey forget the comment above. i solved the problem. i had an extra space (i didn’t notice the %20 in the address bar before!)
    yay!

    that means i have just created a feedburner bookmarklet that is suitable even for future posts!
    i feel like a pro geek! :D

    thanks to you. your bookmarklet was an inspiration!

  16. Isadora Dice:

    Great! I’m very proud of you! And I succeeded in making an alpha version of a ff extension, thanks to you :-D
    btw, now you can also have a look at the other bookmarklets (see the category): I’m thinking about releasing a ff extension with all of the bookmarklet functions, localized for italian, german and english, but I’m afraid it will take a while…

  17. Netty Gritty Dice:

    i have a very stupid question now. which language did you use for sourcecode to display your code? i used jscript, but it’s messing my code. i tried doing it in code mode, but that stripped out all my js elements. i tried xml, but it stripped my code again. so, what am i doing wrong?
    my code also uses <a href> attributes. cos i want my readers to install the bookmarklet (a hyperlinked “email this post”) by converting the txt file to html file first.
    i am feeling totally lost.

  18. Netty Gritty Dice:

    i have no idea how the hyperlink to your own post happened. i wrote a href within angle brackets , before the words “attributes” – i guess i shouldn’t have done that! :(

  19. Isadora Dice:

    I use jscript. Maybe it’s some theme issue? What do you mean by “text file”? Can I have a look somewhere? Maybe you can mail me the post content?
    Don’t worry about the hyperlink, I’ll edit it, ok?

  20. Netty Gritty Dice:

    hey! i have my own bookmarklet post at last! only one thing, it’s a two click process. i have been trying so hard to figure out a one click process, and messed up. but guess what, right after i painstakingly made the post, i checked my one-click bookmarklet whimsically and saw that it actually works! that means another blog post is awaiting me!

    thanks for your initial bookmarklet. it was a biiiiiiiiiiiiiiiiiiiig inspiration! :D

  21. Netty Gritty Dice:

    lalala!
    i have posted the one-click bookmarklet already!
    i had no idea there was such a big geek in me! :mrgreen:

    it’s all your fault, i felt so jealous of your bookmarklet and had to create something all on my own!

  22. illuminato Dice:

    Isadora, grazie per la segnalazione, ho cominciato ad inserirlo nei post.

  23. Isadora Dice:

    Ciao illuminato, qui mi sa che dobbiamo ringraziare Netty Gritty :-)

  24. odiamore Dice:

    Riuscita anche qui – ho sostituito il testo con “Spedisci via mail” perché.. boh, non lo so neanche io ;) Grazie mille, preziosi consigli :)

  25. Isadora Dice:

    Bene! Be’, infatti in inglese si chiama “email this”… :-)

  26. odiamore Dice:

    Ecco, inconsapevolmente (o forse soltanto inconsciamente) anglofila nel profondo… Ora provo a fare una bookmarklet congiunta per entrambe le funzioni (la “social” e la “a-social” per un unico amico) – certo che di lunedì mattina ho un senso dell’umorismo ben strano ;)

  27. Isadora Dice:

    anche perché è martedì… ;-) Sì, l’idea di combinare le due bookmarklet è ottima, fammi sapere se ti serve una mano!

  28. silviakittys Dice:

    Brava,continua così,sempre interessante :-)

  29. Pietro Dice:

    Ho inserito questo codice nel POST:
    Manda ad un amico »
    MA quando passo da HTML a “Visuale” e poi torno in HTML, la stringa si trasforma in:
    Manda ad un amico »
    Ovviamente appena provo, feedburner mi risponde:
    Oops! The FeedFlare Email Form feature only works when launched from a valid FeedFlare link.
    Tutto ok come account feedburner. Help me!


Lascia un commento