Ol.LiveJournal Code
This is an implementation of LiveJournal API with any small utilities
Status: Pre-Alpha
Brought to you by:
pilottttt
Ol.LiveJournal 1.0
Copyright (C) 2024 Oleg Osepyants
This project is an implementation of LiveJournal API. This works with
livejournal.com and dreamwidth.org and should theoretically work with
insanejournal.com and deadjournal.com (but this project has not been tested on
them).
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program. If not, see <https://www.gnu.org/licenses/>.
The source codes of Ol.LiveJournal project are located at SourceForge:
<https://sourceforge.net/p/ol-livejournal/>
To contact the author:
<osepyants@gmail.com>
<https://sourceforge.net/u/pilottttt/profile/>
<https://www.nuget.org/profiles/pilottttt>
<https://pilottttt.dreamwidth.org/>
<https://www.facebook.com/pilottttttt>
<https://www.tumblr.com/pilottttt>
------------------------
What is here:
Ol.LiveJournal - This is the implementation of the LiveJournal API. You can
find details about how it works and how to use it in the
readme file in the root folder of this assembly. This built
into a Nuget package (see it at {!!! insert nuget.org package link here !!!}).
All other assemblies that you see here are command line utilities created by
author to solve very specific problems on his own blog and to test the
functionality from OL.LiveJournal. Perhaps one of them will be useful to you,
or maybe you will create some of your own utilities here.
Here is a list of these utilities:
LjSynchronizeTags - This utility copies the taglist and currentlocation
property values from posts of one account to the
corresponding posts of another account. In my case, it was
copying from livejournal.com to dreamvidth.org.
LjConvert - This utility translates hyperlinks pointing to posts from
one account into hyperlinks to corresponding posts from
another account. It is also designed to transfer
information from livejournal.com to dreamvidth.org.
LjAddInfoSection - This utility is designed to collect all unique
currentlocation values from all posts of an account,
selected by tags, and export this list to a CSV file. Then
you can manually (for example, using Excel) fill the empty
columns in CSV with information about location, and then,
based on this file, use the same utility to add to your
posts an information block containing Schema.Org markup, as
well as correct errors in the currentlocation property and
fill in the currentcoords property. All this will help not
only visitors to your blog, but also search robots to
accurately identify what geographic location is being
discussed.
LjApplyRx - This utility applies a specified Rx-script to selected
posts of your account. For more information on what this
is, see my other project called OL.Text:
<https://sourceforge.net/p/ol-text/>
MakeTableOfContents - This utility reads an HTML file in which links to posts
are grouped by topic and surrounded by tags <td>...<ul> and
</ul>...</td>. For those groups that contain more than one
element, a "content" block is built and added to the
corresponding posts via links.
To build it you need a Visual Studio 2022 / MsBuild >= 17.0