From 8fb1d90fb2f91007742fc197c4a93229324fb373 Mon Sep 17 00:00:00 2001 From: Fabien Meurillon Date: Tue, 16 Sep 2014 17:12:56 +0200 Subject: [PATCH] Full text RSS --- .../DependencyInjection/Configuration.php | 29 +++++++++++++++++++ .../WallabagFullTextRssExtension.php | 28 ++++++++++++++++++ .../Resources/config/services.xml | 20 +++++++++++++ .../Resources/views/Default/index.html.twig | 1 + .../WallabagFullTextRssBundle.php | 9 ++++++ 5 files changed, 87 insertions(+) create mode 100644 src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/Configuration.php create mode 100644 src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/WallabagFullTextRssExtension.php create mode 100644 src/Wallabag/Bundle/FullTextRssBundle/Resources/config/services.xml create mode 100644 src/Wallabag/Bundle/FullTextRssBundle/Resources/views/Default/index.html.twig create mode 100644 src/Wallabag/Bundle/FullTextRssBundle/WallabagFullTextRssBundle.php diff --git a/src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/Configuration.php b/src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/Configuration.php new file mode 100644 index 0000000..35257ef --- /dev/null +++ b/src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/Configuration.php @@ -0,0 +1,29 @@ +root('wallabag_full_text_rss'); + + // Here you should define the parameters that are allowed to + // configure your bundle. See the documentation linked above for + // more information on that topic. + + return $treeBuilder; + } +} diff --git a/src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/WallabagFullTextRssExtension.php b/src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/WallabagFullTextRssExtension.php new file mode 100644 index 0000000..357f489 --- /dev/null +++ b/src/Wallabag/Bundle/FullTextRssBundle/DependencyInjection/WallabagFullTextRssExtension.php @@ -0,0 +1,28 @@ +processConfiguration($configuration, $configs); + + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); + $loader->load('services.xml'); + } +} diff --git a/src/Wallabag/Bundle/FullTextRssBundle/Resources/config/services.xml b/src/Wallabag/Bundle/FullTextRssBundle/Resources/config/services.xml new file mode 100644 index 0000000..f20206a --- /dev/null +++ b/src/Wallabag/Bundle/FullTextRssBundle/Resources/config/services.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/src/Wallabag/Bundle/FullTextRssBundle/Resources/views/Default/index.html.twig b/src/Wallabag/Bundle/FullTextRssBundle/Resources/views/Default/index.html.twig new file mode 100644 index 0000000..4ce626e --- /dev/null +++ b/src/Wallabag/Bundle/FullTextRssBundle/Resources/views/Default/index.html.twig @@ -0,0 +1 @@ +Hello {{ name }}! diff --git a/src/Wallabag/Bundle/FullTextRssBundle/WallabagFullTextRssBundle.php b/src/Wallabag/Bundle/FullTextRssBundle/WallabagFullTextRssBundle.php new file mode 100644 index 0000000..31f90a5 --- /dev/null +++ b/src/Wallabag/Bundle/FullTextRssBundle/WallabagFullTextRssBundle.php @@ -0,0 +1,9 @@ +