GithubHelp home page GithubHelp logo

drmstwizard / tumblr-tags Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beije/tumblr-tags

0.0 0.0 0.0 20 KB

Small script to load all tags that exist within one single blog on tumblr. (no third-party dependency)

HTML 4.51% JavaScript 95.49%

tumblr-tags's Introduction

Tumblr tags

A small script that fetches all the tags for a tumblr-blog. The script doesn't display anything, but instead returns an array of the tags and how many times each tags has been used (so you can style it however you want).

Here's a live demo and here's a blog post describing the project.

How to use

Include the script src/tumblrTags.js. Once the document is ready you can fetch the tags for a tumblr user.

// Create a TumblrTags object, set the username of the blog.
var tagFetcher = new window.TumblrTags(username);

// Hook in to the ready event.
// The anonymous function will be fired when all the tags are fetched.
tagFetcher.on(
	'ready',
	function(tags){
		// Do something with the tags
		console.log(tags);
	}
);

// Load posts
tagFetcher.load();

tumblr-tags's People

Contributors

beije avatar drmstwizard 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.