Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (55)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (8433)

  • Stopping Referrer Spam

    13 mai 2015, par Piwik Core Team — Community

    In this blog post we explain what is Referrer spam, this new kind of spam that has recently appeared on the Internet. We also provide solutions to stop it and preserve the quality of your analytics data.

    What is Referrer Spam ?

    Referrer spam (also known as log spam or referrer bombing) is a kind of spamming aimed at web analytics tools. A spammer bot makes repeated web site requests using a fake referrer URL to the site the spammer wishes to advertise.

    Here is an example of referrer spam in action :

    An example of referrer spam

    Half of those referrers are spams, here are some well know spammers that you may have seen in your logs : buttons-for-you-website.com, best-seo-offer.com, semalt.com

    The benefit for spammers is that their website will appear in analytics tools like Piwik or Google Analytics :

    • public analytics reports (or logs) will be indexed by search engines : links to the spammer’s website will improve its ranking
    • curious webmasters are likely to visit their referrers, thus bringing traffic to the spammer’s website

    How to deal with Referrer Spam ?

    Referrer spam is still new and analytics tools are all handling it differently.

    Referrer Spam in Piwik

    At Piwik we started working on mitigating Referrer spam more than a year ago. If you use Piwik and keep it up to date, you do not need to do anything.

    Referrer spammers are automatically excluded from your reports to keep your data clean and useful.

    New spammers are continuously detected and added to Piwik’s blacklist on each update. If you find a new spammer in your analytics data, you can even report it so that it is added to the Piwik’s open referrer blacklist and blocked for everyone.

    Referrer Spam in Google Analytics

    Google Analytics doesn’t offer any spam protection by default. It can however be configured manually using a custom Filter.

    To create a filter in Google Analytics go to the Admin section and click on All Filters. Create a new custom filter that excludes based on the Campaign Source field. In the Filter pattern enter the spammers domains you want to exclude (this is a regular expression) :

    Configuring a referrer spam filter in Google Analytics

    If new spammers arise you will need to update this list. You can also use Piwik’s referrer blacklist to exclude all the spammers currently detected.

    Other Analytics Tools

    Many web analytics tools do not yet handle Referrer spam and when using these tools, you will often find a lot of spam data in your Referrer Websites analytics reports.

    If you use an analytics tool that does not exclude Referrer spam, we recommend to contact the vendor and ask them to implement a mechanism to remove these referrer spammers. As of today many analytics vendors still have not mitigated this issue.

    Public List of Referrer Spammers

    At Piwik with the help of our large community we have decided to tackle this growing spam issue. We have created a list of up to date referrer spammers that anyone can edit.

    The list is available in a simple text file on Github : github.com/piwik/referrer-spam-blacklist.

    The list is released under the Public Domain and anyone can use it within their applications to exclude referrer spammers.

    Many people have already contributed new spammers to the list. We invite you to use the list in your apps and websites and help us keep the list up to date !

    Let’s unite and fight the spammers together.

    Happy Analytics !

  • Stopping Referrer Spam

    13 mai 2015, par Piwik Core Team — Community

    In this blog post we explain what is Referrer spam, this new kind of spam that has recently appeared on the Internet. We also provide solutions to stop it and preserve the quality of your analytics data.

    What is Referrer Spam ?

    Referrer spam (also known as log spam or referrer bombing) is a kind of spamming aimed at web analytics tools. A spammer bot makes repeated web site requests using a fake referrer URL to the site the spammer wishes to advertise.

    Here is an example of referrer spam in action :

    An example of referrer spam

    Half of those referrers are spams, here are some well know spammers that you may have seen in your logs : buttons-for-you-website.com, best-seo-offer.com, semalt.com

    The benefit for spammers is that their website will appear in analytics tools like Piwik or Google Analytics :

    • public analytics reports (or logs) will be indexed by search engines : links to the spammer’s website will improve its ranking
    • curious webmasters are likely to visit their referrers, thus bringing traffic to the spammer’s website

    How to deal with Referrer Spam ?

    Referrer spam is still new and analytics tools are all handling it differently.

    Referrer Spam in Piwik

    At Piwik we started working on mitigating Referrer spam more than a year ago. If you use Piwik and keep it up to date, you do not need to do anything.

    Referrer spammers are automatically excluded from your reports to keep your data clean and useful.

    New spammers are continuously detected and added to Piwik’s blacklist on each update. If you find a new spammer in your analytics data, you can even report it so that it is added to the Piwik’s open referrer blacklist and blocked for everyone.

    Referrer Spam in Google Analytics

    Google Analytics doesn’t offer any spam protection by default. It can however be configured manually using a custom Filter.

    To create a filter in Google Analytics go to the Admin section and click on All Filters. Create a new custom filter that excludes based on the Campaign Source field. In the Filter pattern enter the spammers domains you want to exclude (this is a regular expression) :

    Configuring a referrer spam filter in Google Analytics

    If new spammers arise you will need to update this list. You can also use Piwik’s referrer blacklist to exclude all the spammers currently detected.

    Other Analytics Tools

    Many web analytics tools do not yet handle Referrer spam and when using these tools, you will often find a lot of spam data in your Referrer Websites analytics reports.

    If you use an analytics tool that does not exclude Referrer spam, we recommend to contact the vendor and ask them to implement a mechanism to remove these referrer spammers. As of today many analytics vendors still have not mitigated this issue.

    Public List of Referrer Spammers

    At Piwik with the help of our large community we have decided to tackle this growing spam issue. We have created a list of up to date referrer spammers that anyone can edit.

    The list is available in a simple text file on Github : github.com/piwik/referrer-spam-blacklist.

    The list is released under the Public Domain and anyone can use it within their applications to exclude referrer spammers.

    Many people have already contributed new spammers to the list. We invite you to use the list in your apps and websites and help us keep the list up to date !

    Let’s unite and fight the spammers together.

    Happy Analytics !

  • How render latex fonts and formulas in Cairo C ?

    15 octobre 2020, par Karl

    I've tried the next steps :

    


      

    1. A standalone tex file :
    2. 


    


    \documentclass[preview]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\begin{document}

\[ \sum_{i=1}^{n}i^3=\left( \sum_{i=1}^{n}i \right)^2 \]

\end{document}


    


      

    1. I've compiled with this :
    2. 


    


    latex file.tex


    


    It means : pdfTeX Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=latex) to got the dvi file.

    


      

    1. Transform my dvi to svg with the next :
    2. 


    


    dvisvgm --libgs=/usr/local/Cellar/ghostscript/9.53.3/lib/libgs.9.53.dylib file.dvi


    


    Here I got the first trouble

    


    When I open my svg it render with fake symbols in Chrome, but in Safari I obtain a success with it. However I discard that and I continue with Cairo.

    


    #include &#xA;#include <librsvg></librsvg>rsvg.h>&#xA;#include &#xA;&#xA;int main(void){&#xA;&#xA;    cairo_surface_t *surface;&#xA;    cairo_t *cr;&#xA;    RsvgHandle *handle;&#xA;&#xA;    /* Code */&#xA;&#xA;    if( (handle = rsvg_handle_new_from_file("file.svg", NULL)) == NULL ){&#xA;        printf("Error trying to load a SVG file\n");&#xA;    }&#xA;&#xA;    if( rsvg_handle_render_cairo(handle, cr) != TRUE ){&#xA;        printf("Error trying to draw a SVG file\n");&#xA;    }&#xA;&#xA;    cairo_surface_write_to_png(surface, "image.png");&#xA;    cairo_destroy(cr);&#xA;    cairo_surface_destroy(surface);&#xA;&#xA;    return 0;&#xA;&#xA;}&#xA;

    &#xA;

    And I render this :

    &#xA;

    result

    &#xA;

    That symbols are the same in Chrome. When I open my svg it looks at last lines like this :

    &#xA;

    <text class="&#x27;f1&#x27;" x="&#x27;138.107022&#x27;" y="&#x27;-25.204175&#x27;">n</text>&#xA;<text class="&#x27;f4&#x27;" x="&#x27;133.374191&#x27;" y="&#x27;-22.215398&#x27;"></text>&#xA;<text class="&#x27;f1&#x27;" x="&#x27;134.116478&#x27;" y="&#x27;-0.996264&#x27;">i</text>&#xA;<text class="&#x27;f3&#x27;" x="&#x27;136.935205&#x27;" y="&#x27;-0.996264&#x27;">=1</text>&#xA;<text class="&#x27;f0&#x27;" x="&#x27;149.425099&#x27;" y="&#x27;-12.750829&#x27;">i</text>&#xA;<text class="&#x27;f3&#x27;" x="&#x27;152.857357&#x27;" y="&#x27;-16.864325&#x27;">3</text>&#xA;<text class="&#x27;f2&#x27;" x="&#x27;160.09406&#x27;" y="&#x27;-12.750829&#x27;">=</text>&#xA;<text class="&#x27;f4&#x27;" x="&#x27;170.610139&#x27;" y="&#x27;-29.787102&#x27;"></text>&#xA;<text class="&#x27;f1&#x27;" x="&#x27;183.230082&#x27;" y="&#x27;-25.204175&#x27;">n</text>&#xA;<text class="&#x27;f4&#x27;" x="&#x27;178.49725&#x27;" y="&#x27;-22.215398&#x27;"></text>&#xA;<text class="&#x27;f1&#x27;" x="&#x27;179.239538&#x27;" y="&#x27;-0.996264&#x27;">i</text>&#xA;<text class="&#x27;f3&#x27;" x="&#x27;182.058265&#x27;" y="&#x27;-0.996264&#x27;">=1</text>&#xA;<text class="&#x27;f0&#x27;" x="&#x27;194.548158&#x27;" y="&#x27;-12.750829&#x27;">i</text>&#xA;<text class="&#x27;f4&#x27;" x="&#x27;197.980417&#x27;" y="&#x27;-29.787102&#x27;"></text>&#xA;<text class="&#x27;f3&#x27;" x="&#x27;205.867527&#x27;" y="&#x27;-27.722624&#x27;">2</text>&#xA;

    &#xA;

    So something fail.

    &#xA;

    In the other hand I'de like to say that pig-config --cflags librsvg-2.0 shows the right output but when I read the Headers there's a WARNING there about Cairo users :

    &#xA;

    #if !defined (__RSVG_RSVG_H_INSIDE__) &amp;&amp; !defined (RSVG_COMPILATION)&#xA;#warning "Including <librsvg></librsvg>rsvg-cairo.h> directly is deprecated."&#xA;#endif&#xA;&#xA;#ifndef RSVG_CAIRO_H&#xA;#define RSVG_CAIRO_H&#xA;&#xA;#include &#xA;

    &#xA;

    And that's the reason to include rsvg header instead of Cairo-svg cause it includes that yet :

    &#xA;

    #ifndef RSVG_H&#xA;#define RSVG_H&#xA;&#xA;#define __RSVG_RSVG_H_INSIDE__&#xA;&#xA;#include &#xA;#include <gio></gio>gio.h>&#xA;&#xA;#include &#xA;#include gdk-pixbuf.h>&#xA;&#xA;G_BEGIN_DECLS&#xA;&#xA;/* Code and Defs */&#xA;&#xA;G_END_DECLS&#xA;&#xA;#include "librsvg-features.h"&#xA;#include "rsvg-cairo.h"&#xA;&#xA;

    &#xA;

    But there's no any documentation about it.

    &#xA;

    And the last question :

    &#xA;

    What's the best way to render a latex formula in a mp4 video format ?

    &#xA;

    I mean, I've tried with Cairo and then put it in a video. but There's better results rendering that formula directly with FFMPEG ? I found some results with python but sincerely I'm tired with it. I'm looking for different ways. The purpose in this : Use C code.

    &#xA;