Roman Gelembjuk
Extracting data from HTML pages with Perl PDF Print E-mail

Extracting data from HTML pages is procedure that is used more and more in different applications. Usually, codes use regular expressions to get some data from HTML page. This is not good solution when it is needed to extract complex data structure. Regular expression usually are big and difficult to understand if it is needed to change after some time or another coder want to change.

I found another solution. I have create Perl module that extracts data with using template. Template is HTML code with some special tags and attributes on place of data to extract.

Last Updated on Friday, 26 February 2010 08:32
Using sentiment analysis to predict FOREX quotes PDF Print E-mail

I worked on some tools for . That service has algorithm for sentiment analysis of business news. For each message there is list of Tags and sentiment (positive or negative) for each tag . Sentiment is calculated using Sentiment Analysis methods.

Using gathered data we tried to use Tags' sentiments for prediction of Forex quotes

Business opportunities around MOOC PDF Print E-mail

MOOC (massive open online courses) become popular more and more. Lots of people are involved in a discussion about MOOC. E-Learning portals publish news and press releases related to MOOC every day. Millions of students learn courses and leave their feedback. One of most popular discussions related to MOOCs is about if is this possible MOOCs replace traditional higher education.

Many experts think it is too early to say about real revolution in higher education as MOOC can not ensure getting of all skills a student can get in a college. A practice aspect of education process is missed. And also a college atmosphere is very important thing and can not be compensated with something when a student learns with MOOCs.

MOOC providers don't have alternative for things outlined above. But someone other can provide alternatives to that things. And this is good business opportunity to offer services around MOOCs aimed to replace traditional college things missed in MOOCs.

Last Updated on Saturday, 16 March 2013 06:12
New Joomla modules with financial content PDF Print E-mail

I have released 2 new Joomla modules - Google Finance Currencies and Google Finance Market Bonds.

Demo for both modules work on

Google Finance Currencies displays currency exchange rates.


Last Updated on Monday, 31 October 2011 07:43
Implementing web site sign-up using popular social networks login in PHP PDF Print E-mail

Majority of web sites use sign-up with social networks as alternate for traditional registration/login. Buttons “Login with: Facebook, Twitter, Google,... ” are present together with a login form very often now.

Using social networks for login simplifies a user experience and saves his time.

The author used social login on different web sites as well. Based on experience it was decided to build a PHP class/package that summarise the social login process on an abstract level and allows to implement the process with minimum coding.

Social login in common

For a user a social login looks like identical process in different social networks. Usually, it looks like: a user licks on a “login with ...” button. Is redirected to a social network website ( etc.) , clicks “Allow” on that site and, finally, is redirected back to an original website where his social login is processes and a session for a user is created.

However, on a back-end there is some difference.

Some social networks APIs don't need to connect to an api endpoint before to redirect a user a login page. Other has to connect to an API to init a login process, to get some special redirect url, to check some settings etc.

Next difference is that some APIs will require saving a specific data (request token etc) between 2 steps of an auth process – get a redirect url and complete login. For others no need to save something.

All such differences must be taken into account during a social login process.

Introduction gelembjuk/auth PHP package to unify the social login process.

The package is available in Composer. It allows to login with Facebook, Twitter, Google, LinkedIn with unified process and minimum coding. Additionally, the package can be easy extended with new social networks and same process will be used.


It is just normal installation with Composer

composer require gelembjuk/auth


Last Updated on Thursday, 30 July 2015 04:38
<< Start < Prev 1 2 3 4 5 6 Next > End >>

Page 1 of 6