All Projects → mozilla → page-metadata-service

mozilla / page-metadata-service

Licence: MPL-2.0 License
DEPRECATED - A RESTful service that returns the metadata about a given URL.

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects
python
139335 projects - #7 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to page-metadata-service

fxtest-jenkins-pipeline
DEPRECATED
Stars: ✭ 39 (+116.67%)
Mutual labels:  abandoned, unmaintained
markup
DEPRECATED - This projects has been retired.
Stars: ✭ 25 (+38.89%)
Mutual labels:  abandoned, unmaintained
murmur
DEPRECATED - A webapp for collecting speech samples for voice recognition testing and training
Stars: ✭ 20 (+11.11%)
Mutual labels:  abandoned, unmaintained
oauthorizer
DEPRECATED - Enable easy use of oauth for other addons
Stars: ✭ 26 (+44.44%)
Mutual labels:  abandoned, unmaintained
socialapi-dev
DEPRECATED - Experimental support for a Social API in Firefox
Stars: ✭ 41 (+127.78%)
Mutual labels:  abandoned, unmaintained
firefoxos-loop-client
DEPRECATED - Firefox OS client for the Loop service
Stars: ✭ 27 (+50%)
Mutual labels:  abandoned, unmaintained
valgrind
DEPRECATED - git-svn copy of the valgrind subversion repo. Firefox OS specific patches applied in "fxos" branch.
Stars: ✭ 22 (+22.22%)
Mutual labels:  abandoned, unmaintained
Hasal
DEPRECATED - A Framework for testing web performance between different browser
Stars: ✭ 30 (+66.67%)
Mutual labels:  abandoned, unmaintained
iris
DEPRECATED - A Python 3 automation test tool for desktop applications
Stars: ✭ 18 (+0%)
Mutual labels:  abandoned, unmaintained
lumbergh
DEPRECATED - Whaaaat's happening? Careers website... Mmmkay?
Stars: ✭ 19 (+5.56%)
Mutual labels:  abandoned, unmaintained
iris firefox
DEPRECATED - Test Suite for Firefox using Mozilla Iris
Stars: ✭ 41 (+127.78%)
Mutual labels:  abandoned, unmaintained
b2g-installer
DEPRECATED - Tools to easily flash b2g on your android phone
Stars: ✭ 27 (+50%)
Mutual labels:  abandoned, unmaintained
npm-mirror
DEPRECATED - A utility for mirroring a subset of npm packages from another npm registry
Stars: ✭ 38 (+111.11%)
Mutual labels:  abandoned, unmaintained
addon-sdk
DEPRECATED - The Add-on SDK repository.
Stars: ✭ 643 (+3472.22%)
Mutual labels:  abandoned, unmaintained
homeassistant-coronavirus-hessen
[Unmaintained] Home Assistant component to scrape the current SARS-CoV-2 data for the German state of Hessen from the website of the Hessisches Ministerium für Soziales und Integration.
Stars: ✭ 15 (-16.67%)
Mutual labels:  abandoned, unmaintained
B2GOS-community
DEPRECATED - Tasks management for the B2G OS working groups
Stars: ✭ 11 (-38.89%)
Mutual labels:  abandoned, unmaintained
Gaia
DEPRECATED - Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see
Stars: ✭ 2,091 (+11516.67%)
Mutual labels:  abandoned, unmaintained
Mozdef
DEPRECATED - MozDef: Mozilla Enterprise Defense Platform
Stars: ✭ 2,164 (+11922.22%)
Mutual labels:  abandoned, unmaintained
mozilla-download
DEPRECATED - Download firefox / b2g-desktop / mulet
Stars: ✭ 15 (-16.67%)
Mutual labels:  abandoned, unmaintained
i2c-tools
DEPRECATED - git conversion of http://lm-sensors.org/svn/i2c-tools subversion repo.
Stars: ✭ 34 (+88.89%)
Mutual labels:  abandoned, unmaintained

Page Metadata Service

A simple node/express app which generates a short metadata representation of a given URL and related media.

Build

Circle CI

API Interface

URL Metadata

Extract metadata from a provided list of URLs.

None

  • Data Params

    • urls

      The POST body must be a JSON encoded dictionary with one key: urls which contains a list of URLs to be queried. A maximum of 20 URLs may be submitted in one request.

      ex:

      {
        urls: [
          "https://www.mozilla.org/",
          "https://developer.mozilla.org/en-US/docs/Web/JavaScript"
        ]
      }
      
  • Request Headers

    The POST body must be a JSON encoded dictionary.

    content-type: application/json

  • Success Response:

    • Code: 200

    JSON encoding

    ex success:
    
      {
        request_error: "",
        url_errors: {},
        urls: {
          "http://www.mozilla.org": {
            url: "http://www.mozilla.org",
            original_url: "http://www.mozilla.org",
            provider_name: "mozilla",
            title: "We\u2019re building a better Internet",
            description: "Did you know? Mozilla \u2014 the maker of Firefox \u2014 fights to keep the Internet a global public resource open and accessible to all.",
            favicon_url: "http://www.mozilla.org/media/img/favicon/apple-touch-icon-180x180.00050c5b754e.png",
            images: [{
              url: "https://www.mozilla.org/media/img/home/page-image.3af4522ff5e7.png",
              entropy: 1,
              height: 500,
              width: 500
            }]
          }
        }
      }
    
    ex request failure:
    
      {
        request_error: "The Content-Type header must be set to application/json",
        url_errors: {},
        urls: {}
      }
    
    ex parse failure:
      {
        request_error: "",
        url_errors: {
          "http://www.mozilla.org": "Fetch Error: 404 not found"
        },
        urls: {}
      }
    
  • Error Responses:

    • Code: 400

    The server received a malformed request.

    • Code: 500

    The server was unable to satisfy the request.

  • Sample Call:

      $.ajax({
        url: "https://metadata.dev.mozaws.net/v1/metadata,
        type : "POST",
        dataType: "json",
        contentType : "application/json",
        data: JSON.stringify({
          urls: [
            'https://www.mozilla.org/',
            'https://developer.mozilla.org/en-US/docs/Web/JavaScript'
          ]
        }),
        success : function(r, data) {
          console.log(data);
        }
      });
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].