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

Scrapbook, journal export (Фотоальбомы, экспорт журнала)

Some time ago, after some changes at LJ, correct upload of pictures to LJ Scrapbook stopped working: all pictures were uploaded to Unsorted gallery even if you specified custom gallery explicitly. Now it is fixed in version

Additionally, LJ decreased the amount of entry properties returned for an entry via API, maybe that will solve the problem when export for some journals stopped at some entry with wrong properties. Please report if for you Synchronization in Semagic started to work and you now can download the whole journal.

Download page: http://semagic.sf.net

In Russian:

Некоторое время назад после некоторых изменений в LJ перестала правильно работать загрузка картинок в Scrapbook: все изображения оказывались в альбоме Unsorted даже если был задан другой альбом. Теперь это исправлено в версии

Кроме того, ЖЖ уменьшил число свойств записей, возвращаемых для каждой записи через API, возможно это решит проблему, когда экспорт журнала прекращал работать на какой-то записи с неправильными свойствами. Пожалуйста, сообщите, если для Вас Синхронизация в Семаджике начала работать, и Вы теперь смогли скачать весь журнал.

Страница загрузки: http://semagic.sf.net

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

Dreamwidth friends in Semagic

Now you can load DW friends in Semagic. Please report if something does not work.

One problem with friends is that it looks like nobody was using XML-RPC API methods for DW friends since the time when it was made 10 years ago so did not notice and report that it contains errors, e.g. group bit is not returned from server for groups so that groups cannot be used. But anyway, you can add people to subscription and access lists.

Also, sometimes the server adds a user to friends but returns reply without message that the user was really added. For me that happened 2 times. So Semagic does not know whether the user was added or not. In this case, the actual friends' state will be shown the next time when you update them from server.

Note that unlike LJ, DW does not return communities that you are a member of as friendofs. That means they will be shown in the list only if you are subscribed to them.

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

New version

I have just updated Semagic. It contains some minor changes and, in particular, fixed cookie for download of comments (thanks to user Michael Dannov) so you do not have to always login in the Web tab to download comments. Now you can disable usage of IE cookie in the Options in the Synchronization window (Synchronization is available in the Links menu).

For Windows XP users: there is a way to enable TLS 1.2 on windows XP so Semagic will show userpic and connect to dreamwidth: see for example here: https://www.smartftp.com/ru-ru/support/kb/2754 
For me, it solved the problem only partially, but for other people even Skype started to work ( http://webcache.googleusercontent.com/search?q=cache:q_YSdXS9MfYJ:https://msfn.org/board/topic/178092-enable-tls-11-and-12-in-windows-xp-correctly/&hl=ru&gl=ru&strip=1&vwsrc=0 )

A note to Dreamwidth users: now you get "Invalid password" error. You have to generate API key in the DW settings (mobile/advanced setup options page) and use it as password in Semagic.

Also, at Dreamwidth, if you have enabled auto crossposting to LJ, those crossposted entries (due to not yet fixed DW error) cannot be edited via Semagic or other client. So it is better to crosspost via Semagic.

Also, most of image upload providers no longer work. Flickr changed authorization so it works only for those who authorized their Semagic long time ago.
So image providers that work:

  • LJ Scrapbook
  • Flickr for old users, i.e. with saved authorization tokens
  • Metaweblog API upload

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

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.


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. Also one user reports that Semagic kept crashing for him in Linux until he found in google msls31.dll and put it into Semagic and System folder.

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

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.

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


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.

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

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

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

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

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


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)