{"id":8387,"date":"2004-12-28T17:00:00","date_gmt":"2004-12-28T15:00:00","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/12\/28\/lj2mail\/"},"modified":"2005-10-03T12:41:00","modified_gmt":"2005-10-03T09:41:00","slug":"lj2mail","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/12\/28\/lj2mail\/","title":{"rendered":"lj2mail"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>With this script I will terrorize my friends from today onwards. What it does is get all the recent posts from some <a href=\"http:\/\/www.livejournal.com\">LiveJournal<\/a> blog and email them as separate messages to a list of recepients.  Subject of the blog entry is used as a subject of the email.  Body of the message contains of text and the permalink.<\/p>\n<p>In order to use, first configure few simple variables at the beginning of the script, providing LJ credentials, list of recepients, address to use in the From: field and a file to keep the timestamp of the last syncronization.<\/p>\n<p><b>Changes<\/b>: in this version I have fixed encoding fo the body and subject.  Body can now be recoded with Text::Iconv module to any encoding from the default UTF-8.  Subjects are additionally fixed to be base64-encoded.<\/p>\n<p><a href =\"\/wordpress\/wp-content\/20041228-lj2mail.perl\">lj2mail.pl<\/a><\/p>\n<p><!--more-->\t<\/p>\n<p><a href =\"\/wordpress\/wp-content\/20041227-lj2mail.perl\">lj2mail.pl &#8211; Original version (20041227)<\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>With this script I will terrorize my friends from today onwards. What it does is get all the recent posts from some LiveJournal blog and email them as separate messages to a list of recepients. Subject of the blog entry is used as a subject of the email. Body of the message contains of text &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/12\/28\/lj2mail\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">lj2mail<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18],"tags":[29,91,36,2350,39],"keyring_services":[],"class_list":["post-8387","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","tag-blogging","tag-livejournal","tag-perl","tag-rss","tag-software"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":8622,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/02\/12\/rss2mail\/","url_meta":{"origin":8387,"position":0},"title":"rss2mail","author":"Leonid Mamchenkov","date":"February 12, 2005","format":false,"excerpt":"Previously I have wrote lj2mail - a script which gets fresh posts from LiveJournal and emails them to the list of recepients. I have tried to avoid sending same items over and over again, but failed. The script was implemented with the help of LiveJournal API (LJ::Simple Perl module). I\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9073,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/14\/sending-bulk-html-emails-with-perl\/","url_meta":{"origin":8387,"position":1},"title":"Sending bulk HTML emails with perl","author":"Leonid Mamchenkov","date":"June 14, 2005","format":false,"excerpt":"First of all, I have to warn you that using HTML in emails is almost always inappropriate. Use plain text. If you have to send HTML, than send it as an attachment. For those cases, where HTML message has to be sent and there is no choice in the matter,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10722,"url":"https:\/\/mamchenkov.net\/wordpress\/2007\/06\/11\/daily-tweets\/","url_meta":{"origin":8387,"position":2},"title":"Daily tweets","author":"Leonid Mamchenkov","date":"June 11, 2007","format":false,"excerpt":"Exwebris is no more. We are mmVirtual now. I just published the last post. http:\/\/exwebris.com\/ # Updated SVN pre-commit hook to fail on empty log messages and Thumbs.db commits.I should have known better... # @atw26: I hear you.Most clients demand a full-blown CMS with all editor options.Although it's a suiside\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8762,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/04\/01\/upgrade-of-nucleus-cms-to-version-32\/","url_meta":{"origin":8387,"position":3},"title":"Upgrade of Nucleus CMS to version 3.2","author":"Leonid Mamchenkov","date":"April 1, 2005","format":false,"excerpt":"I have just upgraded the site to Nucleus CMS version 3.2. I have also installed a few plugins. I am trying to get used to new post editor, so, please stay with me. Also let me know of any malfunctions that you can find. I looked around and checked and\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8475,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/01\/13\/unicode-saves-the-day-again\/","url_meta":{"origin":8387,"position":4},"title":"Unicode saves the day again","author":"Leonid Mamchenkov","date":"January 13, 2005","format":false,"excerpt":"I have finally fixed a bug with encoding of the blog. The content was always served as UTF-8, but the encoding was set to iso-8859-1. Editing the file nucleus\/language\/english.php helped. Your browsers should not be confused any more and Russian characters should work fine in the BlogRoll. Yabadabadu!","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9400,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/08\/31\/missing-bloglines-functionality-take-two\/","url_meta":{"origin":8387,"position":5},"title":"Missing Bloglines functionality.  Take two.","author":"Leonid Mamchenkov","date":"August 31, 2005","format":false,"excerpt":"Last time I tried to complain about missing functionality at Bloglines I got everything wrong. I acknoledged the fact, but my ego wanted a revenge. It wanted me to find something that is really missing so that I could write a proper post on the subject. After lots of thinking\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=8387"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8387\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=8387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=8387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=8387"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=8387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}