Backlinks [en]

Recent Posts

  • Refuser les titres et aller à des concerts [fr]

    Refuser les titres et aller à des concerts [fr]

    Ah, les titres! Ces derniers temps, prise d’une inspiration subite, j’ai fait quelques exercices d’écriture à la main. Promis, je demanderai à une IA de me les retranscrire pour que vous ne soyez pas obligés de zoomer sur les photos de mes ratures sur votre smartphone. C’est une expérience intéressante, d’autant plus que je résiste…

  • Who Vibecoded This Upgrade? [en]

    Who Vibecoded This Upgrade? [en]

    Related posts: No related posts.

  • Making the Bees Walk in Line [en]

    (I’ll add transcripts at some point. Yeah I know it’s not accessible.) Related posts: On The Media: Discovering a New Podcast I Like [en] On The Media: Hyperlocal and Numbers [en] Taking Collaborative Notes at BlogTalk [en] Hosted Blog Platform Test Write-Up [en] Call to WordPress Plugin Developers [en] Fed Up [en] Podcasting and Beercasting…

  • Être patient, un job à mi-temps [en]

    Être patient, un job à mi-temps [en]

    Ma vie commence à ressembler à un sketch médico-dystopique. Deux angles pour raconter: Vis ma vie de patiente, quelques éclairages. J’ai eu un accident. Ça implique des assurances. C’est bien qu’il y ait des assurances: ça veut dire que je ne perds pas mon job, ça veut dire que je continue à recevoir un salaire,…

  • Less Input [en]

    Less Input [en]

    In the spirit of shortening things, I’m taking a few moments during my lunch break to share some thoughts I’ve been having recently. Various things have contributed to these thoughts: I’m not going to be able to reconstruct how my ideas around this have shifted in a chronological or well-organised way, but here’s more or…

  • Billet manuscrit, Paris toujours, un 4 juillet [en]

    Je me demande si l’invasion de nos écrans par l’IA va redonner une place à l’écriture manuscrite. Related posts: Réglez-vous la luminosité de vos écrans? [fr] Aryan Invasion [en] Remettre mon cerveau dans le droit chemin [fr] Demande à Steph: bientôt 3 mois de newsletters! [fr] Paris: Trois Saines Sources Post-Attentats [fr] Histoire de ce…

  • Des mots sur un carnet à Paris [en]

    Des mots sur un carnet à Paris [en]

    C’est moche pour l’accessibilité, je sais. Related posts: Cloudbleed: faut-il à nouveau changer vos mots de passe? [fr] Pandémie: où j’en suis [fr] Quintus a eu beaucoup de chance [fr] Deux jours à Morat, avec croisière des Trois-Lacs: c'est top! [fr] Tartine du jour entre fatigue, judo, ménage et planning [en] Avoir un animal est…

Comments

8 responses to “Backlinks [en]

  1. Stephanie Avatar

    The backlinks script is written! Much faster than I expected. Just stuck
    with some cosmetic issues. Expect a new page in the coding section soon!

  2. Amélie Poulain Avatar

    y a qq chose qui ne marche pas 🙁

    je vais voir le truc des espions et nettoyage ordi.

    merci.

    tu connais http://www.cexx.org/adware.htm et
    http://www.privacy.net/analyze/
    worth a look.

  3. Stephanie Avatar

    If you want to give me a hand, I’m stuck with this part: read the first x
    lines of a remote page and output the text in between the tags into a
    variable.

  4. Stephanie Avatar

    Next step: collect google search terms. That will be fun!

  5. Jane Doe Avatar

    Reading a web page with php is easy !
    $page=readfile(“http://www.disenchanted.com/dis/technology/xanadu.html”);
    will get you the source of the page.

    (another solution is to use system(“wget…”), which is a safer solution
    since wget will handle retry and timeout for ya)

    To parse $page,
    use regexp or a xml parser,
    to extract what you want (title,
    maybe the <link rel=”index” to catch the permalink
    and the <link rel=”alternate” type=”application/rss+xml” to catch the
    RSS feed are obvious candidate)

    Regexp are usually a better solution since HTML is not often valid xml

    You can also try to use preg_split to find the text before and after the
    link that caused the backlink activation.

    The concept of x lines is not obvious with html source…
    you can try to catch the content of the first <p> </p>
    or the first sentence (a sentence ends with !?. and a space)

    To remove all markup, use preg_replace
    see http://www.php.net/manual/en/function.preg-replace.php for the code

    Another source of help might be Biz, from Niutopia, since he has some perl
    code to do the same thing (grabbing title and some text about it)
    http://joueb.com/niutopia/news/155.shtml

  6. Stephanie Avatar

    not sure if this is the best, but it’s working! (not sure either how the
    php code will come out with this comments script):

    $referrer_page =
    implode(”,file(“http://www.disenchanted.com/dis/technology/xanadu.html”));
    preg_match(‘!]*>(.*)!’, $referrer_page, $array_of_matches);
    $referrer_title=$array_of_matches[1];

    Actually, readfile spits the whole thing out on the page without waiting
    for me to tell it to do so.

  7. Morgazilla Avatar

    Bonjour dans les etoiles, il a l’air bien ce script, mais ne veut pas de
    moi :), on dirait que c’est le titre qui ne passe pas, peut etre a cause
    de l’apostrophe ? “…J’ai arrete”
    @ un autre jour

  8. Stephanie Avatar

    Les referrers s’affichent seulement après au moins deux visites de deux ip
    différentes. Le tien s’affiche maintenant. Je vais mettre manuellement le
    nom dans la base, c’est vrai qu’il y a eu un blème! (apostrophe ou serveur
    bizarre, je sais pas…)

Leave a Reply

Your email address will not be published. Required fields are marked *