Commit Graph

293 Commits

Author SHA1 Message Date
Carlos 6b5e7c1e77 Line breaks in README.md 2016-01-14 16:33:10 +01:00
Carlos b71973e683 Added 'tags' command 2016-01-14 16:30:01 +01:00
Carlos dd3c9e171f Changed copyright year and version number 2016-01-14 16:01:22 +01:00
Carlos Fenollosa 0cff2a11db Merge pull request #82 from McDutchie/master
Various code cleanups
2016-01-14 16:00:11 +01:00
Martijn Dekker 18d2df26ce fix: allow field splitting on tags_with_posts call
Quoted one too many there.
2016-01-11 18:56:39 +01:00
Martijn Dekker b3b0545c7f more robust parsing of 'ls' using 'read'
* Iterating through 'ls' output using 'for' is very brittle; it relies on word splitting and globbing can also mess it up. It's best to use globs directly, but if using 'ls' cannot be avoided, e.g. if you need to sort by date, at least we can use 'IFS= read -r $i' to read from a here-document filled with the 'ls' output, which leaves everything in file names intact except newlines.
* Other minor cleanups.
2016-01-11 16:10:17 +01:00
Martijn Dekker a0aa994e17 Code cleanups: quoting, redirection, string handling
- Fix lots of problems with convoluted and broken quoting techniques.
- Group code blocks for redirection into a file rather than doing a separate additive redirect for each command.
- Replace strings using bash parameter substitution rather than piping 'echo' through 'sed', resulting in a faster script.
2016-01-11 03:30:41 +01:00
Martijn Dekker ba012c436e More correct and effective use of arrays 2016-01-11 00:16:50 +01:00
Martijn Dekker 2b24132f3c Consistent use of [[ and (( instead of [
Another minor code cleanup. Within [[ ... ]] and (( ... )) (but not [ ... ]) there is a different shell parsing context in which field splitting (a.k.a. word splitting) and pathname expansion (a.k.a. filename globbing) don't apply, so consistently use '[[' (and '((' for arithmetics) instead of '[' and remove unnecessary quotes.

Since '[[ x == y]]' does 'case'-like glob pattern matching on 'y', the quotes to the right of '==' need to be kept for variables or glob characters, except if a glob pattern is wanted.
2016-01-10 23:17:48 +01:00
Martijn Dekker f3329f0a82 Remove unnecessary quotes from scalar assignments
Substitutions (variables, command substitutions, etc.) directly assigned to a scalar variable don't need to be quoted, as field splitting and globbing don't apply in that context. Removing superfluous quotes makes the code look a bit cleaner.
2016-01-10 19:31:49 +01:00
Carlos ab91e5dda1 topsy is kill 2015-12-21 19:49:34 +01:00
Carlos Fenollosa 982b8a108d Update README.md 2015-11-13 16:30:19 +01:00
Carlos 54fdb360ab Shellcheck. Fix #78 2015-09-23 17:43:44 +02:00
Carlos Fenollosa f891d262da Merge pull request #80 from damateos/adaptative
little changes in css to adapt width to screen
2015-09-23 17:28:14 +02:00
David Mateos 81942377b7 little changes in css to adapt width to screen
width in px changed by percentage in main.css and meta tag viewport
added.
2015-09-02 11:30:47 +02:00
Carlos f90c439814 fixed bug where drafts were appended a random postfix after re-editing 2015-07-11 12:10:25 +02:00
Carlos Fenollosa fab3bc1054 Update README.md 2015-05-13 13:22:01 +02:00
Carlos Fenollosa 1a92bd7700 Update README.md 2015-05-13 13:18:11 +02:00
Carlos Fenollosa 088eebd621 Merge pull request #77 from vielmetti/patch-1
Update the "not abandoned by" date
2015-05-13 13:15:05 +02:00
Edward Vielmetti d161020afa Update the "not abandoned by" date 2015-05-13 06:43:52 -04:00
Carlos Fenollosa ec01889d91 Merge pull request #75 from Enneka/master
Fixes #70
2015-05-12 17:20:34 +02:00
Enneka ee711aee64 Fixes #70 2015-05-09 18:06:25 -04:00
Carlos Fenollosa 95854e9dfe Close #72 2015-03-09 11:21:15 +01:00
Carlos Fenollosa db3f42c417 Fix #71 2015-02-19 09:33:29 +01:00
Carlos Fenollosa 3c39aafe20 fix #59 2014-10-05 18:12:37 +02:00
Carlos Fenollosa 63476204de properly quote twitter cards 2014-09-15 19:32:51 +02:00
Carlos Fenollosa adfcd98012 Twitter cards. Fixes #36 2014-09-15 19:23:12 +02:00
Carlos Fenollosa 450ecddfea changed hardcoded /bin/ paths 2014-09-12 17:00:01 +02:00
Carlos Fenollosa 59c431b974 Close #61 #57 2014-09-01 16:13:06 +02:00
Carlos Fenollosa 3cf548dc74 Added sections from bb.sh 2014-09-01 15:21:50 +02:00
Carlos Fenollosa a94b2f5d00 fix #65 2014-08-19 12:11:23 +02:00
Carlos Fenollosa ec8c670d6a Update README.md 2014-08-19 11:56:33 +02:00
Carlos Fenollosa 472e9d3da3 contributing code 2014-08-19 11:42:39 +02:00
Carlos Fenollosa 1cd13b0f8c updated twitter count api 2014-07-18 09:20:44 +02:00
Carlos Fenollosa 95e36a5137 Now the tweet count links to Topsy 2014-07-17 16:47:57 +02:00
Carlos Fenollosa 53e79106f5 Fix for #60 2014-07-11 09:23:57 +02:00
Carlos Fenollosa f946c98c32 Twitter count now links to search results 2014-07-07 17:23:24 +02:00
Carlos Fenollosa 1a4ea1702f Update README for cookieless twitter 2014-07-07 17:16:46 +02:00
Carlos Fenollosa 60bedcaa70 Cookieless twitter option 2014-07-07 17:11:14 +02:00
Carlos Fenollosa 63f17fa9f2 Hide warning message in sed 2014-07-03 16:07:05 +02:00
Carlos Fenollosa db4eb3c6c2 Sed error on mac 2014-06-30 15:51:14 +02:00
Carlos Fenollosa 07e690b151 Sed error on mac 2014-06-30 15:50:58 +02:00
Carlos Fenollosa 64eae60051 Sed error on mac 2014-06-30 15:43:28 +02:00
Carlos Fenollosa e43d1e56ea Sed error on mac 2014-06-30 15:28:51 +02:00
Carlos Fenollosa ed746d0b0c Sed error on mac 2014-06-30 15:27:15 +02:00
Carlos Fenollosa 5099d4811b Fixed #56 2014-06-30 11:45:47 +02:00
Carlos Fenollosa 44ec89ae2c Manual fix for #54 2014-06-30 09:06:54 +02:00
Carlos Fenollosa 8e6d61539f Merge pull request #55 from Lex-2008/small-fixes/5
Fixes for blogs without tags
2014-06-30 09:05:15 +02:00
Carlos Fenollosa cd921faeab Merge pull request #56 from cfenollosa/revert-54-master
Revert "Fixed hardcoded tag filename prefix"
2014-06-30 09:04:45 +02:00
Carlos Fenollosa 19f0c9f283 Revert "Fixed hardcoded tag filename prefix" 2014-06-30 09:04:18 +02:00