<?php /** * Generate the feed of Albo POP Città Metropolitana Torino * Copyright 2016 Cristiano Longo & Michele Maresca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ require '../phpalbogenerator/AlboPopGenerator.php'; require 'AlboCittaMetroTorinoParserFactory.php'; require 'AlboCittaMetroTorinoItemConverter.php'; $generator = new AlboPopGenerator(new AlboCittaMetroTorinoParserFactory(), new AlboCittaMetroTorinoItemConverter()); $generator->outputFeed("Albo POP della Città Metropolitana di Torino", "Versione POP della Città Metropolitana di Torino", "http://dev.opendatasicilia.it/albopop/cittametropolitanatorino/albofeed.php");
<?php /** * This script produce the rss feed from the web page of the albo of the municipality of * Belpasso. * * Copyright 2016 Cristiano Longo * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ require '../phpalbogenerator/AlboPopGenerator.php'; require '../jCityGov/AlbojCityGovParserFactory.php'; require '../jCityGov/AlbojCityGovItemConverter.php'; require 'AlboCittaMetropolitanaCataniaEntryParser.php'; define('ALBO_URL', 'http://trasparenza.cittametropolitana.ct.it/web/citta-metropolitana-di-catania/albo-pretorio?p_p_id=jcitygovalbopubblicazioni_WAR_jcitygovalbiportlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=1&p_p_col_count=3&_jcitygovalbopubblicazioni_WAR_jcitygovalbiportlet_action=eseguiPaginazione&hidden_page_size=200'); define('SELECTION_FORM_URL', 'http://trasparenza.cittametropolitana.ct.it/web/citta-metropolitana-di-catania/albo-pretorio?p_auth=qTV0abq9&p_p_id=jcitygovalbopubblicazioni_WAR_jcitygovalbiportlet&p_p_lifecycle=1&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=1&p_p_col_count=3&_jcitygovalbopubblicazioni_WAR_jcitygovalbiportlet_action=eseguiFiltro'); $generator = new AlboPopGenerator(new AlbojCityGovParserFactory(ALBO_URL, SELECTION_FORM_URL, new AlboCittaMetropolitanaCataniaEntryParser()), new AlbojCityGovItemConverter("http://dev.opendatasicilia.it/albopop/cittametropolitanacatania/sharer.php")); $generator->outputFeed("Albo POP della Città Metropolitana di Catania", "Versione POP dell'Albo Pretorio della Città Metropolitana di Catania", "http://dev.opendatasicilia.it/albopop/cittametropolitanacatania/albofeed.php");
<?php require '../phpalbogenerator/AlboPopGenerator.php'; require './AlboCittaDellaSaluteParserFactory.php'; require 'AlboCittaDellaSaluteItemConverter.php'; $generator = new AlboPopGenerator(new AlboCittaDellaSaluteParserFactory(), new AlboCittaDellaSaluteItemConverter()); $generator->outputFeed("Albo POP della città della salute di Torino", "Versione POP dell'Albo Pretorio della città della salute del comune di Torino", "http://dev.opendatasicilia.it/albopop/torino/albofeed.php", "http://dev.opendatasicilia.it/albopop/torino/albofeed.php");
<?php /** * This script turn the html page of the official 'Albo' of the University * of Catania into a rss feed. * * Copyright 2016 Cristiano Longo * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ require '../phpalbogenerator/AlboPopGenerator.php'; require 'AlboUnictParserFactory.php'; require 'AlboUnictItemConverter.php'; $generator = new AlboPopGenerator(new AlboUnictParserFactory(), new AlboUnictItemConverter()); $generator->outputFeed("Albo dell'Universita` di Catania", "Versione POP dell'Albo Ufficiale di Ateneo dell'Università degli Studi di Catania", 'http://dev.opendatasicilia.it/albopop/unict/');
<?php /** * Generate the feed of Albo POP of the University of Torino * * Copyright 2016 Cristiano Longo * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ require '../phpalbogenerator/AlboPopGenerator.php'; require 'AlboUnitoParserFactory.php'; require 'AlboUnitoItemForSharerConverter.php'; $generator = new AlboPopGenerator(new AlboUnitoParserFactory(), new AlboUnitoItemForSharerConverter("http://dev.opendatasicilia.it/albopop/unito/sharer.php")); $generator->outputFeed("Albo POP del Universita` di Torino", "Versione POP dell'Albo Ufficiale dell'Universita` di Torino", "http://dev.opendatasicilia.it/albopop/unito/albofeed.php");