TNG-RSS plugin creates WordPress articles from the TNG feed

Recently, I had another idea how the integration of WordPress and The Next Generation of Genealogy Sitebuilding (or short „TNG“) can be improved. TNG delivers a RSS feed through its tngrss.php file. This feed keeps track of all database changes, which are applied to individuals, families or media. Consequently, the idea was born to have a plugin, that summarizes these changes in WordPress articles.

In absence of time and programming skills, I ordered this plugin at Andreas Krischer. The plugin has been kept simple; there is only one button in the WordPress backend to read the feed. With each run, the plugin saves a time-stamp in the database. Thus, it recognizes new feed items since the previous execution. All changes of one days are merged into an single article. As of today, there are no settings in the backend; feed URL as well as author, category and tags will be defined in the PHP file.
The decision towards the manual execution has been made, since the changes in TNG are rather sporadic. Continuously polling the feed would have been an unnecessary waste of resources.

The plugin is not entirely complete. But, it serves its purpose and works flawlessly. Thus, I am publishing it here for other hobby genealogists, who are working on the integration of TNG and WordPress. For the future, it would be nice to have internationalization. In case someone improves the plugin, I would appreciate when you leave a comment.



[wpdm_file id=1]

1 Gedanke zu “TNG-RSS plugin creates WordPress articles from the TNG feed”

Schreibe einen Kommentar

Ich akzeptiere