📜 ⬆️ ⬇️

Novelties on the State Duma website: deputies have become more accessible

Updated search in information systems, mobile versions of sites and support for Masha - utilities for highlighting fragments of text recently introduced on kremlin.ru .

In January of this year, a new version of the State Duma website was launched, which included a huge amount of changes and improvements . Just yesterday, he headed the independent ranking of state sites prepared by activists of the Pirate Party of Russia, which is good news.

This post is the beginning of a series of articles highlighting the innovations on the State Duma website, the results of the joint efforts of the State Duma and Intaro Soft.

Today's changes affected two information systems: the database “Transcripts of State Duma meetings” and Informational and analytical materials . The first system provides access to transcripts of speeches of deputies and chronicles of all meetings, and the second contains analytical information: newsletters, analytical reviews, materials for the work of deputies with voters and much more.
')

Full-text search in the database "Transcripts of the State Duma meetings"


The search in the database “Transcripts of the State Duma meetings” has been updated and improved. The search form has been simplified to 4 required fields, and the search has become full-text based on morphology.

Search works on the basis of domestic development, high-performance search engine Sphinx . In addition to the fact that it guarantees fast and high-quality search, its use will ensure the implementation of a single search across all information systems of the State Duma, which will be implemented on the central site in a short time.



Navigating the searched words in the transcript


One of the problems when searching through transcripts is to find a place where the desired phrase is found. The average transcript size is 300–500 Kb (100–200 A4 pages), which makes navigation through the text somewhat difficult. Now, when moving from search results to the text of the transcript, auxiliary navigation tools appear that allow you to move between the found phrases.



MaSha - text selection utility


The freeware utility mashajs, recently released by our colleagues, allows you to select text fragments and form a unique link for them, which you can then send to another person. The utility is currently actively developing and has already been implemented on such sites as kremlin.ru , NTV , 404 conferences .

On the part of the State Duma Office, proposals to introduce a similar function in the texts of the transcripts of meetings were received in June. We considered it right to “not reinvent the wheel” and use the existing successfully working solution in the form of “Masha”.

The utility has been slightly expanded by us, and now allows us to publish a link to text fragments of transcripts in popular social networks in 2 clicks.





Mobile versions of information systems


Mobile versions of both information systems were developed and implemented. As on the main website of the State Duma, there is support for automatic detection of the web client and redirect mobile clients to the appropriate version of the site.




Our work on this is not over. In the near future, an open API for searching bills will be launched, which will allow using the service in its applications and embedding it in websites; single search on all information systems of the State Duma; system of public discussion of draft laws; and much more.

We will tell about all this in the following articles.

Source: https://habr.com/ru/post/130238/


All Articles