http___blog.unone.org_date_2008_06_2.xml
http___www.iiit.de_english_products_iiitAccessServer_index.html.xml
1.1 1.2 1.3 1.4 1.5 2.1 3.1 4.1 5.1 6.1 7.1 7.2 8.1 9.1 10.1 11.1 12.1 13.1 14.1 15.1 16.1 17.1 17.2 18.1 19.1 20.1 21.1 22.1 23.1 24.1 25.1 25.2 26.1 27.1 28.1 29.1 30.1 31.1 32.1
От доста време се замислях да напиша такъв плъгин и ето я първата версия на плъгина. Благодарение на поста на Пламен Томов за Подобни резултати от Google Blogsearch се роди идеята. Доразвих неговия код, използвайки вградени за wordpress класове и функции ( т.е. няма нужда от добавяне на нови файлове, просто качвате плъгина във директорията /wp-content/plugins/, след което го активирате от административния панел ), като по този начин се подобрява бързодействието на плъгина, защото не зарежда много файлове наведнъж. Плъгина има възможност да се скинва – т.е. частта с html-a е отделена във файла theme.php, css-а е изведен във файла style.css, като използва зададените по подразбиране стилове от оригиналния css файл. Плъгина е xHTML съвместим. Линкът http://blog.unone.org/wp-content/uploads/2008/06/blogsearch1.rar Идеята Идеята на плъгина е да покаже свързани по смисъл постове от други блогове, от което печелите допълнително ключови думи по съответната тема, на която е поста. Как работи плъгина? Ако има добавени тагове към поста, ги взима и прави заявка към blogsearch.google.com, ако липсват такива – взима всички думи от заглавието и тогава прави заявката. Резултатите се визуализират директно след самия пост Инсталация - Разархивирайте архивния файл, след което копирайте създалата се директория във /wp-content/plugins/ на вашата wordpress инсталация - Активирайте плъгина от раздел “Plugins” Описание на файловете - blogsearch.php – основния файл за плъгина – препоръчително е да не се редактира - theme.php – файла с html-a – тук може да дописвате, редактирате тагове на HTML и съдържание - style.css – css файла, който можете да ползвате, за да скиннете плъгина - readme.txt – стандартен readme файл Лиценз На фона на интернет пиратството, винаги е било забавно да се говори за лицензи. Включил съм плъгина текст от GPL лиценза: Copyright 2008 by Manol Trendafilov (email : manol.trendafilov /at/ gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 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 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Разпространява се свободно и безплатно под GPL лиценз ( тъй като винаги съм бил фен на Линукса, е под GPL, а не някакъв друг ) Чувствайте се свободни, да коментирате, да давате идеи за развитието на плъгина, защо не и да критикувате. Първият ми плъгин за WordPress Йее!
1.1 1.2 1.3 1.4 2.1 3.1 3.2 3.3 3.4 3.5 4.1 5.1 6.1 6.2 6.3 7.1 7.2 7.3 7.4 8.1 8.2 8.3 8.4 8.5 9.1 9.2 9.3 10.1 10.2 10.3 10.4 10.5 11.1 11.2 12.1 13.1 13.2 14.1 15.1 15.2 16.1 16.2
Over and over again applications must check user rights. Not only when developing the application, but also when administering it, this causes great efforts. Often those rights systems will be realized as bit-fields, which must be marked for every single user or for user groups in a more or less badly arranged screen menu. Usually the structure of the groups is not very flexible, groups consisting of other groups and/or users (even mixed) are very rarely possible. While creating a concept for a large web-based information system with about 20,000 users which ought to have very individual access rights, the question came whether there are other possibilities to manage user rights. Out of this situation, the idea was born, not to define user rights with fixed bit-fields, but with dynamical expressions. The equations are representing set operations. One may define unions, intersections and differences of sets. A user has a specific right if he is a member of the resulting set after the evaluation of the expression – possibly recursive over many levels. The application has the possibility to request a predefined expression by its name or an expression created dynamically by the application. We have written a white paper showing the concept in detail. The iiitAccessServers includes two variants of caches and datasources. The base version uses a Java property file and a simple 1st-level cache as a data source. The property file can easily be edited with a simple text editor, but changes will not be recognized while the server is running. This base version is merely usable as a test and development system. For productive usage, the iiitAccessServers can be extended by plug-ins with additional interfaces, data sources and caches. The iiitAccessServers includes an interface to LDAP and a persistent 2nd-level cache using a database. All group definition and predefined expressions are stored in an optimized format inside a MySQL database. A background thread called CacheManager will recognize all changes to the LDAP database and write them to the cache. To achieve load balancing and high availability, the iiitAccessServers can be installed on any number of servers. Because it is implemented as a stand-alone server, it can be used by many different applications simultaneously. For Java applications there is a RMI interface, for other ones there is a TCP/IP interface with an easy to use protocoll has been implemented. Therefore the server can not only be used by other Java application but also by applications written in any programming language in a very easy way. Through its modular structure, additional interfaces can be added easily. The 2nd-level cache can split its database-cache in up to 257 single databases. The load balacing mechanisms of the iiitAccessServers can also be used with this plug-in. Only the CacheManager may only run once at a time. Remark: We work mostly with Linux and develop for Linux. Therefore most of our software is tested only with Linux and the installation guide etc. cover only Linux. Nevertheless our software should be usable with other operating systems too. If you find any mistakes while using it with another operating system, we will be glad to get your hints or corrections to integrate them as far as possible into the next release. In this case please contact support@iiit.de. The iiitAccessServer consists of two part, the server application and a library to be bound to Java applications. To assure free distribution and to allow its use also in commercial environments, these parts are distributed with different conditions. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation; either version 2 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 (GPL) for more details. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (GPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License (GPL) for more details. If you don not want to accept the terms and conditions of the GPL and LGPL, we also offer commercial licences on request. Please send a mail to support@iiit.de.