2017 © Pedro Peláez
 

library indieweb

IndieWeb helper functions

image

jonnybarnes/indieweb

IndieWeb helper functions

  • Thursday, January 14, 2016
  • by jonnybarnes
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,851 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

IndieWeb helpers

These tools should help with things like POSSE-ing. Currently I'm only working with Twitter but adding other services is in the pipeline., (*1)

Installing

Super simple with composer:, (*2)

composer require jonnybarnes/indieweb

Numbers

The Numbers class allows you to convert between decimal and either NewBase60 or NewBase64, and vice versa., (*3)

$numbers = new Numbers();
$nb60id = $numbers->b60tunum($realId);

NotePrep

The NotePrep class is for use when preparing a note that you want to POSSE to another site, such as Twitter. With a provided note the createNote method will add a link to the original copy, truncating the note if necessary., (*4)

$noteprep = new NotePrep();
$originalNote = 'A lovely note.';
$posseCopy = $noteprep->createNote($note, 'https://abc.de/n/id', 140, true);
echo $posseCopy;// 'A lovely note. (https://abc.de/n/id)'

License

As a library intended for use in the IndieWeb this is Licensed under the Creative Commons Zero license., (*5)

The Versions

14/01 2016

dev-master

9999999-dev https://github.com/jonnybarnes/indieweb

IndieWeb helper functions

  Sources   Download

CC0-1.0

The Requires

  • php >=5.6

 

The Development Requires

indieweb posse

29/07 2015

v0.1.1

0.1.1.0 https://github.com/jonnybarnes/indieweb

IndieWeb helper functions

  Sources   Download

CC0-1.0

The Requires

  • php >=5.5

 

The Development Requires

indieweb posse

28/07 2015

v0.1

0.1.0.0 https://github.com/jonnybarnes/indieweb

IndieWeb helper functions

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

indieweb posse