Intégrer PhpGedView avec Wordpress

De PGVWiki
Sauter à la navigation Sauter à la recherche

WordPress est un système de gestion de contenu (CMS) qui permet de créer et gérer facilement l'ensemble d'un site web ou simplement un blog. Gratuit et libre, WordPress est personnalisable grâce à de nombreux thèmes et plugins. Il n'existe que quelques options disponibles pour intégrer PhpGedView dans Wordpress. Cet article présente ces différentes méthodes ainsi que les possibilités offertes tout en expliquant comment créer un nouveau plugin Wordpress dans l'espoir de regrouper toutes ces possibilités dans un plugin unique.

Options

Wp-tree

Wp-tree is a Wordpress plugin which allowed for basic integration. Once it is installed, users navigate to a specific URL which displays PhpGedView within an iFrame. The major plus of this plugin is that it includes a User Management feature to allow the PhpGedView access, edit and admin rights to be granted / removed from within Wordpress. Once the user logs into Wordpress, single-sign allows them to access PhpGedView (assuming the appropriate rights have been granted).

Unfortunately, it was last updated in October 2006. Since then, there appears to be no further development of the plugin. During this period both Wordpress and PhpGedView have continued to develop which prevent the plugin from working with the latest versions. Certainly PGV 4.1.4 introduced new User Management functions which conflict with Wordpress function names.

RSS Feeds

The genealogy information stored and managed inside PhpGedView can be accessed via an RSS news feed. Using either the default RSS widget, or a custom plugin such as KB Advanced RSS Widget, Wordpress can be configured to display information in the Sidebar.

WPPGV

WPPGV is the working title for a new Wordpress plugin which hopes to merge the features of the existing integrations options together under one roof.

Planned Features

Here is a list of features that have been identified for inclusion in the new plugin. The list is work in progress, so feel free to add to it...

  • Embed PhpGedView within a Wordpress blog. The blog administrator should be able to configure/contol the integration as much as possible.
  • Allow for single sign on between the two applications
  • Allow blog administrators to manage PGV user profiles
  • Work with the latest version of PGV and WP

Changelog

Version 0.2.1 (2008-09-11)
- Fixed  : Only content from the WPPGV page is removed by the "the_content" filter 
Version 0.2 (2008-09-10)
- Initial version released on the WordPress Plugin Directory

Version 0.1
- Unpublished version