Code Monkey home page Code Monkey logo

sourcefier's Introduction

Sourcefier

Can't remember the format in which a source item needs to be? We've got you covered!

Introduction

Input a link to output a source element.

NOTE: Unfortunately, not all developers add the information to their sites we require.

Contributing

If you wish to contribute to the project, please create a feature branch. For this functionality you write, create an issue (if not open already) and assign yourself. Now take the id of the issue as the starting name of the branch. Example: 1234-fix-typo

Once your fix is complete. Please create a pull request to the main branch.

Detecting the parts of the source

NOTE: Not all sites contain all the required information, such as the author or the release date so remember to check the output source validity.

Author:

<meta name="author" content="John Doe>

Release Date:

If the release date is not known we simply use N.d. (No date).

Referral Date:

The date

Time format of the reffal:

The default date format is

Source item structure documentation (in Finnish):
https://oppimateriaalit.jamk.fi/raportointiohje/files/2020/09/Pikaohje-2020.pdf

Further documentation

Web scraping

The whole app is based on web scraping to read the necessary information from the pages.

Sourcefier will scan the page HTTP headers, html head and meta tags and more to determine the required values for a valid source reference.

Retrieving the page contents

AJAX Http Requests to retrieve the web page structure. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest

All Origins

https://allorigins.win/ https://github.com/gnuns/allorigins

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.