Log in

No account? Create an account
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). 

ScreenshotsCollapse )

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.


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.


тайные знания
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.


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