From: Antonio Ospite Date: Thu, 24 Apr 2014 12:33:34 +0000 (+0200) Subject: Merge tag 'v0.3' into debian X-Git-Tag: debian/0.3-1~5 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/e80eeccf22777e2226ceef7a02f4b1907c8b6f10?hp=38b96cca55f45a887922dd6e605de73a877a2685 Merge tag 'v0.3' into debian Release v0.3 --- diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index a864caf..0000000 --- a/ChangeLog +++ /dev/null @@ -1,219 +0,0 @@ -2013-11-18 12:56:52 +0100 Antonio Ospite - - * tweeper.1.asciidoc: small fixes to the man page (HEAD, origin/master, master) - -2013-11-18 12:12:16 +0100 Antonio Ospite - - * tweeper.1.asciidoc: add a missing semicolon - -2013-11-18 01:01:29 +0100 Antonio Ospite - - * Add a ChangeLog file (tag: v0.1) - -2013-11-18 00:59:58 +0100 Antonio Ospite - - * Add a NEWS file - -2013-11-18 00:59:20 +0100 Antonio Ospite - - * Add a Makefile rule to generate a Changelog file - -2013-11-18 00:43:00 +0100 Antonio Ospite - - * Add a man page - -2013-11-08 16:22:26 +0100 Antonio Ospite - - * Add a Makefile to simplify installation and packaging - -2013-11-08 16:17:48 +0100 Antonio Ospite - - * Add a wrapper script intended to be called as an executable - -2013-11-08 15:01:25 +0100 Antonio Ospite - - * Write error messages on STDERR and return saner values in CLI mode - -2013-11-08 13:09:19 +0100 Antonio Ospite - - * TODO: add more info about checking UTF output - -2013-11-08 10:44:44 +0100 Antonio Ospite - - * Handle errors and warnings from loadHTML() - -2013-10-06 11:01:46 +0200 Antonio Ospite - - * Show the actual name of the user the tweet comes from - -2013-08-12 10:16:27 +0200 Antonio Ospite - - * Follow HTTP redirects in get_contents() too - -2013-08-12 01:25:56 +0200 Antonio Ospite - - * Add some entries to the TODO file - -2013-08-12 01:22:35 +0200 Antonio Ospite - - * Merge branch 'generate-enclosure-element' - -2013-08-12 01:16:10 +0200 Antonio Ospite - - * Cosmetics: re-indent cURL options to follow the coding style (generate-enclosure-element) - -2013-08-12 01:13:56 +0200 Antonio Ospite - - * Use cURL for Tweeper::get_contents() too - -2013-08-12 01:06:23 +0200 Antonio Ospite - - * Remove double semicolon in Tweeper::get_info() - -2013-08-11 21:23:42 +0200 Antonio Ospite - - * Make get_url_info() and generate_enclosure() static methods - -2013-08-11 21:15:41 +0200 Antonio Ospite - - * Turn epoch_to_gmdate() and str_to_gmdate() into static methods - -2013-08-11 21:11:03 +0200 Antonio Ospite - - * Make get_contents() a static method - -2013-08-11 20:57:02 +0200 Antonio Ospite - - * Cosmetics: sort supported_content_types, remove unneeded spaces - -2013-08-11 20:52:47 +0200 Antonio Ospite - - * Use an array to list supported content types for enclosures - -2013-08-11 20:44:37 +0200 Antonio Ospite - - * Make it optional to generate the element - -2013-08-11 20:27:36 +0200 Antonio Ospite - - * Use getopt() to parse command line options - -2013-08-11 20:08:37 +0200 Antonio Ospite - - * Split parsing CLI options from parsing QUERY_STRING ones - -2013-08-11 13:43:05 +0200 Antonio Ospite - - * Use templates to generate enclosures - -2013-08-11 12:48:21 +0200 Antonio Ospite - - * Merge https://github.com/grote/Tweeper into generate-encolure-elements - -2013-08-11 12:43:42 +0200 Antonio Ospite - - * Fix a typo: s/tweeter/Twitter/ - -2013-08-04 23:22:02 +0200 Torsten Grote - - * only enclosify certain mimetypes, use same user agent - -2013-08-04 22:00:51 +0200 Torsten Grote - - * add initial support for enclosures - -2013-08-03 20:56:55 +0200 Antonio Ospite - - * Fix a typo in an error message - -2013-07-28 22:34:06 +0200 Antonio Ospite - - * Add an RSS conversion stylesheet for dilbert.com - -2013-07-28 22:30:26 +0200 Antonio Ospite - - * TODO: mention the RSS element - -2013-07-28 22:28:55 +0200 Antonio Ospite - - * rss_converter_twitter.com.xsl: use concat() more - -2013-07-27 17:14:07 +0200 Antonio Ospite - - * Add an example with identi.ca - -2013-07-27 17:05:03 +0200 Antonio Ospite - - * Mention in the README that other sites can be converted to RSS (local-ao2) - -2013-07-27 16:51:38 +0200 Antonio Ospite - - * Add initial support for scraping Pump.io activity streams - -2013-07-27 16:46:23 +0200 Antonio Ospite - - * Change mode of tweeper.php - -2013-07-27 16:45:47 +0200 Antonio Ospite - - * Add -h and --help options - -2013-07-27 16:38:46 +0200 Antonio Ospite - - * Add another date conversion routine - -2013-07-27 16:36:36 +0200 Antonio Ospite - - * Update the documentation to use URLs as arguments - -2013-07-27 16:35:47 +0200 Antonio Ospite - - * Mention http://rssitfor.me as an alternative service - -2013-07-27 16:04:41 +0200 Antonio Ospite - - * Use __DIR__ when building the stylesheet path name - -2013-07-27 16:01:36 +0200 Antonio Ospite - - * Rename formatDate() function to epoch_to_gmdate() - -2013-07-27 13:31:59 +0200 Antonio Ospite - - * Be more verbose in error messages - -2013-07-27 13:24:44 +0200 Antonio Ospite - - * Make stylesheet file name parametric - -2013-07-27 13:09:08 +0200 Antonio Ospite - - * Change of behavior| Now a URL is required as an argument - -2013-07-27 12:49:21 +0200 Antonio Ospite - - * Factor out a usage() function - -2013-07-27 12:43:16 +0200 Antonio Ospite - - * Use php_sapi_name() to check for CLI interface - -2013-07-07 15:34:21 +0200 Antonio Ospite - - * Fix a typo - -2013-07-07 15:33:26 +0200 Antonio Ospite - - * Add more info about how to call Tweeper from command line - -2013-07-07 01:22:47 +0200 Antonio Ospite - - * Embed the full HTML content of the tweet in the description field - -2013-07-06 23:06:12 +0200 Antonio Ospite - - * Format dates using an external php function - -2013-07-06 21:51:53 +0200 Antonio Ospite - - * Initial import diff --git a/Makefile b/Makefile index d0c6b07..4625aa8 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,6 @@ all: clean: rm -f tweeper.1 -changelog: - git log --pretty="format:%ai %aN <%aE>%n%n%x09* %s%d%n" > ChangeLog - docs: a2x -f manpage tweeper.1.asciidoc @@ -29,5 +26,5 @@ install: installdocs install -m755 tweeper $(DESTDIR)$(TWEEPER_DIR) install -d $(DESTDIR)$(BIN_DIR) ln -sf $(TWEEPER_DIR)/tweeper $(DESTDIR)$(BIN_DIR)/tweeper - @echo -e "\n\nINTALLATION COMPLETE" + @echo -e "\n\nINSTALLATION COMPLETE" @echo -e "Make sure '$(PHP_SCRIPT_DIR)' is in PHP include_path!\n" diff --git a/NEWS b/NEWS index e01b8e4..b183893 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +News for v0.3: +============== + + * Support generating enclosure for "audio/ogg" links + * Always specify xml:base to improve local URLs expansions in some cases + * Support both the classic and the new Twitter profile pages + * Fix getting the profile picture of Twitter users + * Add support for Howtoons.com + News for v0.2: ============== diff --git a/rss_converter_dilbert.com.xsl b/rss_converter_dilbert.com.xsl index 7394b91..82c33f2 100644 --- a/rss_converter_dilbert.com.xsl +++ b/rss_converter_dilbert.com.xsl @@ -1,7 +1,7 @@ + + + + + + + + + http://howtoons.com + + + + + + <xsl:value-of select="normalize-space(.//div[@class='post-headline']//a)"/> + + + + + + + + + + + + + + + <![CDATA[ + + ]]> + + + + + + + + + + Tweeper + + <xsl:value-of select="//title"/> + + + + + + The world's greatest D.I.Y. comic website! Tools of mass construction! + + + + http://www.howtoons.com/wp-content/themes/atahualpa/images/header/tuck1000.png + + + + + + + diff --git a/rss_converter_pump.io.xsl b/rss_converter_pump.io.xsl index 6b05d0c..94b083b 100644 --- a/rss_converter_pump.io.xsl +++ b/rss_converter_pump.io.xsl @@ -1,7 +1,7 @@