readme
This commit is contained in:
parent
de61260b2a
commit
9fab153499
72
README.md
72
README.md
@ -11,16 +11,18 @@ called BOOKMARKS or by running the provided script called
|
||||
edit_bookmarks_dmenu.sh (requires dmenu). The script can be ran from the
|
||||
command line but I suggest to bind it to a keystroke combination.
|
||||
|
||||
If you want to try with an example BOOKMARKS database (32kb) :
|
||||
```
|
||||
curl -O https://martinlemaire.fr/signet.sh/BOOKMARKS
|
||||
```
|
||||
then
|
||||
Clone this repository, make signet.sh executable and run signet.sh
|
||||
```
|
||||
git clone https://git.vvvvvvaria.org/clemtre/signet.sh.git
|
||||
chmod +x signet.sh
|
||||
./signet.sh
|
||||
```
|
||||
By default, signet.sh looks for a database file called BOOKMARKS in the
|
||||
same folder. You can try the script with this 32kb example BOOKMARKS
|
||||
database :
|
||||
```
|
||||
curl -O https://martinlemaire.fr/signet.sh/BOOKMARKS
|
||||
```
|
||||
|
||||
It produces the following html document :
|
||||
|
||||
@ -82,36 +84,36 @@ Only a Url is required, the rest of the fields are optional :
|
||||
## index.html structure generated by signet.sh
|
||||
```
|
||||
\<!DOCTYPE html>
|
||||
\<html>
|
||||
\<head>
|
||||
\<title>⛵ → YY-MM-DD, H:M\</title>
|
||||
\<script defer src="jquery-3.6.4.js">\</script>
|
||||
\<script defer src="script.js">\</script>
|
||||
\<link rel="stylesheet" href="style.css">
|
||||
\<meta charset="utf-8" />
|
||||
\</head>
|
||||
\<body>
|
||||
\<div id="cc">\</div>
|
||||
\<textarea autofocus>\</textarea>
|
||||
\<nav>
|
||||
\<p>tag (amount)\</p>
|
||||
\</nav>
|
||||
\<ol>
|
||||
\<li>
|
||||
\<a href="URL">
|
||||
\<section color="Color">
|
||||
\<h5>URL\</h5>
|
||||
\<h1>Name\</h1>
|
||||
\<h2>Description\</h2>
|
||||
\<h3>Tags\</h3>
|
||||
\<h4>Date\</h4>
|
||||
\</section>
|
||||
\<a>
|
||||
\</li>
|
||||
\</ol>
|
||||
\<footer>\</footer>
|
||||
\</body>
|
||||
\</html>
|
||||
<html>
|
||||
<head>
|
||||
<title>⛵ → YY-MM-DD, H:M</title>
|
||||
<script defer src="jquery-3.6.4.js"></script>
|
||||
<script defer src="script.js"></script>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="cc"></div>
|
||||
<textarea autofocus></textarea>
|
||||
<nav>
|
||||
<p>tag (amount)</p>
|
||||
</nav>
|
||||
<ol>
|
||||
<li>
|
||||
<a href="URL">
|
||||
<section color="Color">
|
||||
<h5>URL</h5>
|
||||
<h1>Name</h1>
|
||||
<h2>Description</h2>
|
||||
<h3>Tags</h3>
|
||||
<h4>Date</h4>
|
||||
</section>
|
||||
<a>
|
||||
</li>
|
||||
</ol>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
# Usage
|
||||
|
10965
jquery-3.6.4.js
vendored
10965
jquery-3.6.4.js
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user