тайные знания

Semagic on Mac

There may be a reason why only few people used Semagic on Mac: WINE needed Xcode to be installed. It is 4GB in size. I installed it but then standard instructions did not work for me and Semagic was not working.
Also I installed Winebottler but it did not install ie6 which is required for WYSIWYG editor.
Then I found PlayOnMac and it seem to work just as on Linux. PlayOnMac is about 150M in size, download, open, drag Playonmac to the application folder shortcut, run Playonmac, install Semagic selecting libraries for it: vcrun6, ie6, riched30, msxml3 (the same ones as on Linux). 

Collapse )

What does not work is drag-n-drop of images from explorer. For image upload, select 0 upload block in the upload options in the upload window for Scrapbook (Journal/Pictures/Open Scrapbook/Options). Use Ctrl+F12 to type non-English letters in HTML mode. To use msxml parser (to post to Blogger and Wordpress) open Playonmac, Configure, select Semagic on the left, select WINE, Configure WINE, Libraries and add msxml3 override.

This text is written by Semagic running on OSX Lion in WYSIWYG mode.
Screenshot (uploaded from Mac):



If you get "Invalid password" error when viewing history: uncheck challenge-response authentication in Options/Advanced. That is LJ error but it is not fixed yet.


http://semagic.sourceforge.net

Update 25 Oct 2012:
After some update of Playonmac, MFC42u.dll and riched20.dll sometimes are not found and Semagic does not run after installation. Select Configure->Miscellaneous->Open program directory, open windows/system32 and place those files there. You can find those files via google.

тайные знания

Export of pictures

Now you can export all pictures from your LJ Scrapbook, Flickr, Picasa or Yandex Fotki account. For LJ Scrapbook, protected pictures are only downloaded if you are permanently logged in via IE and the cookie is accessible to external applications. For Flickr, photosets are not preserved, pictures are downloaded into selected folder without subfolders. Export button is available in the picture upload window.

http://semagic.sourceforge.net
тайные знания

Export

Now Semagic can (again) export all entries. Now they are exported with comments and embedded pictures. It is available via Links/Synchronization. To prevent overloading of LJ servers, it adds 1 minute pauses after each request (of 100 entries or 1000 comments). Also entries and comments are kept in two single files to optimize work with large amounts of entires (it was tested with 30000).
Empty folder in Options in the Synchronization window means that it will use Semagic folder. Download of comments requires additional authorization, it can either use your permanent cookie from IE (make sure it is for the same username, Semagic does not check it) or create separate cookie by itself. It is also configured in Options in the Synchronization window.
Note that if you connect via proxy you need to specify proxy in IE in order to download images if you set it to use IE cookies (images and comments are downloaded either via urlmon with IE cookies or via winhttp where cookies are not accessible).
Also edited comments are not synchronized again after edition.
There is an error at LJ side when entires added to ljtimes (or cross-posted entires at dreamwidth) are not synchronized. Now (v.1787) Semagic can download entries even with that error though some entires' properties are not accessible.

If you get an error while downloading comments: from the Login window, in the Connection settings, specify direct connection, not IE proxy. Now (in v.1781) it is fixed.

Update 31.12.2015. For about a year or more the comments are not downloaded due to changes of authorization cookies at LiveJournal. There is a workaround: in options in the export window, select IE cookie option. Then login permanently in IE. Then on XP it works. If it does not, open Web tab in Semagic and login there. Then it should work. Checked for windows 7.

http://semagic.sourceforge.net
тайные знания

About images

Semagic теперь может загружать изображения на 7 сайтов:

Fotki.com и Imageshack.us предлагают загрузку без регистрации.
Imageshack.us и Flickr.com используют для авторизации куки из IE.
LJ Scrapbook, Flickr.com, Яндекс Фотки и Picasa позволяют задать свой вид ссылки (в настройках в окне загрузки, Журнал/Изображения/Открыть сайт).

Изображения могут быть добавлены через:

  • Окно Вставить ссылку/изображение (Ctrl+M)
  • Копировать/вставить из Проводника Windows в главное окно
  • Перетаскивание из Проводника в режиме HTML или WYSIWYG
  • Копировать/вставить изображения в главное окно (после захвата экрана и т.п.)
  • Перетаскивание в окно загрузки изображений

В Linux по неизвестной причине работает только вставка ссылки и перетаскивание в окно загрузки.
Также теперь можно вызывать загрузку из окна Вставить ссылку, и окно загрузки автоматически вызывается, когда изображения перетаскиваются или вставляются из Проводника. Это выключается в Настройки/Общие.

Страница загрузки

Semagic can now upload images to 7 sites:

Fotki.com and Imageshack.us offer uploads with or without registration.
Imageshack.us and Flickr.com use authorization cookies from IE.
LJ Scrapbook, Flickr.com, Yandex Fotki and Picasa allow to specify custom link size (in options in the upload window, Journal/Pictures/Open site).

Pictures can be added via

  • Insert link/Image window (Ctrl+M)
  • Copy/paste from Windows Explorer into the main window
  • Drag-and-drop from explorer into the main window in HTML or WYSIWYG mode
  • Copy/paste of image data into the main window (after print screen etc.)
  • Drag-and-drop from explorer to the image upload window

For some unknown reason, only insert link and drag-and-drop into upload window work in Linux.
Also now you can invoke upload from Insert Link window and upload window is automatically opened after images are dropped or pasted from Explorer. It is disabled in Options/General.

Download page

тайные знания

Scrapbook error 500

Everyone is now getting error 500 when uploading to Scrapbook after recent updates there. It is not known whether it will be fixed soon. So I switched Semagic upload via other (newer) API mode.
Additionally, this version has tags autocompletion, you can post to Typepad and 2 dictionaries are packed in the installer so its size is now 1.9MB.

Download page

тайные знания

Linux+WINE

How to use Semagic in Linux with WYSIWYG editing.
Collapse )

For those who uses Semagic on Mac: use Ctrl+F12 to enable non-English text.

For image upload to LJ Scrapbook set upload block to 0 in options in the upload window.
Drag-and-drop of images works only when dropped into the image upload window (Journal/Pictures)
тайные знания

Copy to Semagic



The latest statistics on Semagic downloads say that Firefox is the most popular browser (among Semagic users). So I created a Firefox extension that adds context menu item to copy link or text to Semagic. It behaves in the same way as IE version does. Download it here (left-click): http://semagic.sourceforge.net/copytosemagic104.xpi

It will prompt to install it at the top of the browser window. After installation and browser restart you should open Tools/Addons, find addon, select its settings and browse for Semagic executable C:\program files\Semagic\LivejournalU.exe.

Writing comments:
click with the extension on a Leave comment link (with ?replyto= ), Semagic will switch into comment writing mode i.e. will remember the link, when you click "Post" it will post reply to that link and open web page with resulting comment. Comments are enabled only in the new version of Semagic (1.7.5.1). Also this version can send personal messages (in Links menu and friends window) and shows inbox contents.

There is a way to do the same for Opera, requires manual editing of its menu files
http://rustavy.livejournal.com/471337.html
http://maximumdisaster.livejournal.com/113154.html
There are no such easy way to do the same for Chrome (because it requires to run external application).

Download

тайные знания

Post options

There is a suggestion to make post options orientation configurable. Some other blog clients have it vertical on the right side.

How do you think post options should be oriented by default (for new users)?

Horizontally (as is)
170(50.7%)
Vertically on the right
90(26.9%)
Vertically on the left
32(9.6%)
I do not know
43(12.8%)

Also I remind that you can post polls from Semagic (in the links menu) and upload screenshots without use of external editor (by pasting clipboard contents with screenshot into Semagic) like I just did.
Preview of vertical orientation on the right


Update: now you can use it, configure in Options/View. Then you can click on the post options header and drag it to the left. Note that this dragging will work correctly when the window is maximized.

Download

тайные знания

youtube

A reminder how to post youtube videos:
copy URL to youtube video to clipboard and press button (with disk) on the toolbar in Semagic. This will add lj-template tags around video link. For other video sites, find <object code, copy it to clipboard and press the mentioned button. This will add lj-embed tags. As far as I know, lj-template tag (automatic generation of embed code) works only for youtube. Embed code for youtube also works but lj-template allows you to manually edit the links later.

Download

тайные знания

1730

The latest version of Semagic contains the following changes:
· Posting to vox.com (no editing).
· Post options for Blogger (tags, draft state).
· Upload into personal albums at fotki.com.
· data: URL for images.
· Adult content setting.
· Fixed entry deletion with Blogger, picture upload with WP, music detection with foobar2000.
· Loading settings from .ini files is disabled.

Atom publishing API implementation at Vox contains some errors that prevent editing of existing entries. That means that you can press "save" but entry is not updated at the server without any error messages.

Settings from .ini files are disabled because this method is slow, does not work for some users and generates many random crashes for large .ini files. It is replaced with another option that exports/imports registry key to/from a binary file (semagic.re1). You can copy that file with Semagic to a flash drive. Note that you need to set empty draft folder in options instead of direct path.
So exit Semagic holding Ctrl key; that saves semagic.re1 file. Then open program files/semagic folder and copy livejournalu.exe and semagic.re1 and other files to flash drive. Then run it from flash drive. An error message while importing registry file means you cannot use this method because you do not have sufficient adminstrative rights.

Do not change adult setting if you use a blog site that does not allow such entry property or you will get an error and will not be able to post. Or disable completely from the right-click menu on the dropdown list.

data: URL works only for Firefox, Opera and IE8 and has different image size limitations for each browser (and also there is a general limit for LJ entry size). Use it only if you know what it is about.



Download