w3lifer / netscape-bookmarks
1.0.0
2019-02-06 14:09 UTC
Requires
- php: ^7
This package is auto-updated.
Last update: 2024-12-26 18:32:40 UTC
README
Installation
composer require w3lifer/netscape-bookmarks
Usage
echo new NetscapeBookmarks([ 'Bookmark name 1' => 'Bookmark URL 1', 'Bookmark name 2' => 'Bookmark URL 2', 'Directory name' => [ 'Bookmark name 3' => 'Bookmark URL 3', 'Bookmark name 4' => 'Bookmark URL 4', ], ]); // <DL><p> // <DT><A HREF="Bookmark URL 1">Bookmark name 1</A> // <DT><A HREF="Bookmark URL 2">Bookmark name 2</A> // <DT><H3>Directory name</H3> // <DL><p> // <DT><A HREF="Bookmark URL 3">Bookmark name 3</A> // <DT><A HREF="Bookmark URL 4">Bookmark name 4</A> // </DL><p> // </DL><p>