Giter VIP home page Giter VIP logo

ndsvw / published-date Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 397 KB

This Add-on tries to find out when exactly a website or an article on a website was published and last edited.

Home Page: https://addons.mozilla.org/en-US/firefox/addon/published-date/

License: GNU General Public License v2.0

JavaScript 99.22% CSS 0.55% HTML 0.23%
add-on article article-published date firefox-addon firefox-extension published updated

published-date's Introduction

Published-Date

Published Date

This Add-on tries to find out when exactly a website or an article on a website was published and last edited.

Example 1: The Add-on found multiple possible dates with high confidence.

Example 2: The Add-on found only one possible date with low confidence, but offers to use WayBackMaschine.

There is no guarantee, that a web page provides any visible or hidden information about when it was published / last updated!

How does it work?

"Published Date" uses around 40 different ways to try to find out when the web page you are visiting was published and when it was last edited / updated. Therefore, there can be multiple possible (and even different) results.

Just visit a website and click on the Add-on icon!

Install

The Firefox extension can be installed directly via the Firefox extensions site.

published-date's People

Contributors

ndsvw avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

published-date's Issues

Support ld array

Currently not supported: Something like this in a JSON-LD tag:

[
    {
        "@context": "http://schema.org",
        "@type": "BreadcrumbList",
        "itemListElement": [
            {
                "@type": "ListItem",
                "position": 1,
                "name": "Codementor",
                "item": {
                    "@id": "https://www.codementor.io",
                    "name": "Codementor"
                }
            },
            {
                "@type": "ListItem",
                "position": 2,
                "name": "Community",
                "item": {
                    "@id": "https://www.codementor.io/community",
                    "name": "Community"
                }
            },
            {
                "@type": "ListItem",
                "position": 3,
                "name": "15 Clean and Simple Open-Source Blogging Platforms for Your Developer Blog",
                "item": {
                    "@id": "https://www.codementor.io/@lovellifuad/15-clean-and-simple-open-source-blogging-platforms-for-your-developer-blog-qdrlfwhl6",
                    "name": "15 Clean and Simple Open-Source Blogging Platforms for Your Developer Blog",
                    "image": "https://cdn.filestackcontent.com/G0icyDKmQJmFTe3HRSrk"
                }
            }
        ]
    },
    {
        "@context": "http://schema.org",
        "@type": "Article",
        "author": {
            "@type": "Person",
            "name": "Lovelli Fuad"
        },
        "name": "15 Clean and Simple Open-Source Blogging Platforms for Your Developer Blog",
        "headline": "15 Clean and Simple Open-Source Blogging Platforms for Your Developer Blog",
        "image": {
            "@type": "ImageObject",
            "url": "https://cdn.filestackcontent.com/G0icyDKmQJmFTe3HRSrk"
        },
        "dateModified": "2018-12-19T15:23:08.000Z",
        "mainEntityOfPage": "https://www.codementor.io/@lovellifuad/15-clean-and-simple-open-source-blogging-platforms-for-your-developer-blog-qdrlfwhl6",
        "description": "Your blog should be built with one of these open-source platforms.",
        "publisher": {
            "@type": "Organization",
            "name": "Codementor",
            "logo": {
                "@type": "ImageObject",
                "url": "https://assets.codementor.io/icons/favicon-32x32.png"
            }
        }
    }
]

Allow extracting more date formats

E.g. "Microsoft learn" has this:

2023-10-23 05:04 PM

A fallback when Date.parse() returns IsNaN could be using a regex to ignore everything after the first space or letter (and that character, too) and parsing only that part again, because this AddOn does not care about the time, only about the day.

Adding Extension Keyboard Shortcuts - Enhancement Suggestion

I don't know how much the Extension has evolved recently, but I have to say, I have been impressed with the results Published Date has been giving! Good job!

Also, I would so love to be able to activate the Extension with a Keyboard Shortcut!

Cheers!

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.