Giter Club home page Giter Club logo

archiviolastampa's Introduction

Alternative player for "Archivio La Stampa" (www.archiviolastampa.it)

NOTICE: Website was updated and Flash Player removed. This extension is not needed anymore and maybe not even working right now.

What:

Browser extension that offers an alternative player for www.archiviolastampa.it.

Archivio "La Stampa" is a website that contains all editions of the newspaper "La Stampa" from 1867 to the end of 2005

Why:

The site hosting the content uses Flash Player to interact with the archive. Flash Player is going to be EOL (End of Life) after December 31 2020 (https://www.adobe.com/it/products/flashplayer/end-of-life.html) and the site may be impossible to use for nobody knows how long.

Read more (Italian only):

Settings:

At the start of 'als.js' I added some simple settings, mostly useless for now

Development status:

Everything seems to work fine. You can:

  • Watch articles.
  • Change pages.
  • Download the page in PDF.
  • Download OCR data in TXT.
  • Show boxes around text recognized by OCR (left click to higlight it in green). Yes, this is useless for now.

PDF and OCR is not done by the extension, it's integrated in the website and its APIs.

If page does not load correctly please refresh and wait. Sometimes the newspaper article won't load and sometimes only the boxes will appear, I'm trying to figure out why.

How to load:

Mozilla Firefox:
  1. Clone this repository.
  2. Go to: "about:debugging#/runtime/this-firefox".
  3. Click on "This Firefox" (on the left bar).
  4. Click on "Load Temporary Add-on" (top right side).
  5. Navigate to the cloned repository on your computer and double click 'als.js'.
Google Chrome:
  1. Clone this repository.
  2. Go to: "chrome://extensions/".
  3. Enable "Developer mode" slider on the top right.
  4. Click "Load unpacked extension".
  5. Navigate to the cloned repository on your computer and select the "_chrome" folder.

After this the extension is ready (until you close Firefox) and you can use the site without having Flash Player, you just need to visit an article page (ex: http://www.archiviolastampa.it/component/option,com_lastampa/task,search/mod,libera/action,viewer/Itemid,3/page,10/articleid,1040_01_1982_0130_0001_14971132/).

DISCLAIMER:

This is my first try at a browser extension and I don't think I will make every functionality available, all I'm looking forward to is a way to browse pages and read. I don't really care about the "binding boxes" around text or the OCR (in some pages it's pretty bad anyway), it's just a project to practice.

Wanna help?

This is GitHub, feel free to make a pull request.

More?

What? You think that with the death of Flash Player they'll take down the entire site making the entire content unavailable? Check out https://github.com/PaaaulZ/DumpArchivioLaStampa (be sure to read the disclaimer section).

archiviolastampa's People

Contributors

paaaulz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.