All Blogs

Categories: Computers, Games, Hardware, Linux, Programming

PHP function to read friends-only LiveJournal posts through RSS

The code is pretty self-explanatory. The only know-how is the combination of the options which works with LJ.
The global variables $digest_username and $digest_password should be set to your LiveJournal username and password, respectievely.
The $url should like like: http://www.livejournal.com/users/tl1/data/rss/?auth=digest

UPD: (The Russian version):
PHP-код для чтения закрытых постов в ЖЖ через RSS
Ищу способ снова читать ЖЖ и массу других блогов в одном централизованном приложении. Естественно, это возможно только через RSS. Как оказалось, у ЖЖ есть возможность читать защищённые записи через RSS, но не всё так просто, т.к. отдавалка RSS требует определённых уговоров и, например, Tiny Tiny RSS не справляется с получением защищённых фидов. В интернетах также нет работающего в настоящий момент примера кода, поэтому я решил запостить результат своих изысканий. Код тривиальный, фишка только в наборе параметров cURL.
$digest_username, $digest_password - глобальные переменные с вашим логином и паролем в ЖЖ.
URL защищённого фида: http://www.livejournal.com/users/tl1/data/rss/?auth=digest
(Замените tl1 на произвольный %USERNAME% ЖЖ.)
Вы получите RSS с записями пользователя, включая приватные, которые он открыл вам.

·· [Read more · Читать дальше] ·· »»»

My & 2GIS Open-Source Repos Migrated to GitLab (Qt for Android and other stuff)

Since gitorious.org is going to be shut down within 1.5 months the open-source repos have been moved here:

https://gitlab.com/u/sergeygalin
https://gitlab.com/groups/2gisqtandroid

This includes Qt 4.8 and patched Qt 5 for Android (grym-android-lighthouse, grym-qt, grym-qt5), ex qtandroidoffscreenviews and related stuff.

Ubuntu 11.10 Distro Upgrade Oops

Yesterday I was upgrading a computer from Ubuntu 11.10 (Oneiric) Linux to 12.04 and 'sudo do-release-upgrade' was crashing with an error message in the script.
To make it update to 12.04 simply remove the 'print' statement from lines 91-92 in /usr/bin/do-release-upgrade and run it again.

Stallman's Opinion About Steve Jobs

Steve Jobs, the pioneer of the computer as a jail made cool, designed to sever fools from their freedom, has died.
As Chicago Mayor Harold Washington said of the corrupt former Mayor Daley, "I'm not glad he's dead, but I'm glad he's gone." Nobody deserves to have to die - not Jobs, not Mr. Bill, not even people guilty of bigger evils than theirs. But we all deserve the end of Jobs' malign influence on people's computing.
Unfortunately, that influence continues despite his absence. We can only hope his successors, as they attempt to carry on his legacy, will be less effective.

DoubleGIS port of Qt for Android (grym-android-lighthouse): first tagged version

The first beta version of our port Qt for Android has been tagged: grym-android-01.

Although the directory contains all files from android-lighthouse, it is 99% another port done by our team and only our own plugin (called Lite) is currently supported in our repo.

The primary goal of the development is:

Providing stability and functionality necessary to run and release real-life, quality applications to Android Market ASAP.

At the moment we do not have QtCreator integration and to use our version one needs to have some basic knowledge about Android development and Qt functioning and be ready to read the scripts and build files and etc. and debug using command-line and logs.

The port is released under BSD license.

·· [Read more · Читать дальше] ·· »»»

Archives

                                                                                                                                                                                                                                                                   
August 2017
Mon Tue Wed Thu Fri Sat Sun
<<  <   >  >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Blogs :

Search :

Misc

Powered by


© Sergey A. Galin, 1998-2004 http://sageshome.net/b2e/blogs/