Git Product home page Git Product logo

blog-extension's Introduction

eXo Blog Extension

A simple multi-user blog extension for eXo Platform social intranet. It's a showcase of eXo content management capabilities.

You can discuss or find help on Blog Extension Community Space

Target : eXo Platform 4.0

How to Install

You can install the extension very easily using the add-ons manager

Using the Add-ons Manager (recommanded)

./addon.sh --install exo-blog-extension:1.1.0

If you don't have it already, you can quickly install the add-ons manager :

cd platform-4.0.5/
curl -L http://sourceforge.net/projects/exo/files/Addons/Add-ons%20Manager/addons-manager-1.0.0-alpha-2.zip/download -o addons-manager-1.0.0-alpha-2.zip
unzip addons-manager-1.0.0-alpha-2.zip

Using the Extensions Installer

If you don't want to install the add-ons manager on your eXo, you can still rely on the build-in extension.sh script that ships with eXo Platform 4.0.

cd platform-4.0.5/extensions
curl -L http://sourceforge.net/projects/exo/files/Addons/Blog%20Extension/exo-blog-extension-1.1.0.zip/download -o exo-blog-extension-1.1.0.zip 
unzip exo-blog-extension-1.1.0.zip
cd ..
unzip exo-blog-extension-1.1.0.zip
./extension.sh -i exo-blog-extension-1.1.0

How to Build

Step 1 : Build

Prerequisite : install Maven 3.

git clone https://github.com/exo-addons/blog-extension.git
cd exoblog

then build the project with maven :

mvn clean install

or

./deploy.sh -m

Step 2 : Deploy

Prerequisite : install eXo Platform 4.0 Tomcat bundle and rename it tomcat/

./deploy.sh -u

or

cp config/target/blog-config*.jar tomcat/lib
cp webapp/target/blog.war tomcat/webapp

Step 3 : Run

Use eXo start script :

cd tomcat 
./start_eXo.sh

or

./deploy.sh -r

Now, point your browser to http://localhost:8080/portal/intranet/blog and login with john/gtn

deploy.sh help

./deploy.sh -h

Script usage :
  ./deploy.sh [-r] [-c] [-t TOMCAT_HOME_DIRECTORY_PATH] [-d PLF_DATA_DIRECTORY_PATH] [-w PLF_WEBAPP_DIRECTORY_PATH]
     -r              start or restart the Tomcat server     (default: do nothing)
     -m              build / rebuild with maven             (default: do nothing)
     -u              update the project binaries in Tomcat  (default: do nothing)
     -c              cleanup the Tomcat Platform            (default: do nothing)
                       (data + logs + temp)
     -t <path>       the Platform Tomcat directory          (default: tomcat)
     -d <path>       the Platform data directory            (default: <TOMCAT-DIR>/gatein/data)

  You can combine the r / m / u / c switches together to chain several actions.
  For exemple you can rebuild the project, update the binaries and restart the tomcat with the following command :
     ./deploy.sh -m -u -r

blog-extension's People

Contributors

aheritier avatar anhdc-exo avatar annb avatar plamarque avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog-extension's Issues

Blog URL shows Home's content & Nav

When navigating to http://localhost:8080/portal/intranet/blog, the Home's "Social wall" and navigation highlight shows up.

Repro steps

  1. Install Addons manager (Instructions on Repo's README)
  2. Install Blog via Addon Manager (Instructions on Repo's README) ./addon.sh --install exo-blog-extension:1.1.0
  3. Confirm Blog is installed by going to "Administration > Applications" Page.
  4. Open URL suggested in Repo's README. http://localhost:8080/portal/intranet/blog

Actual Result

screenshot from 2014-09-17 08 09 57

Same result for all Blog-Related URLs:

Expected Result

Some kind of a blog?
Or a form when going to "/add"?

Context

eXo Platform 4.0.7
Tomcat 7.0.42 (The one bundled with eXo)
Java version: 1.7.0_65, vendor: Oracle Corporation
Ubuntu 14.04

Thanks!

NPE in blog post view

When I select the webcontent in the FE, I have 2 tabs "Document View" and "File View" if I choose "File View", I got several " java.lang.NullPointerException" in the page

Wrong width and height and hidden publish button on the Blog Admin screen

We have a problem with the high and the width of the Blog Admin screen. The bigger nasty effect is that the bad width leeds to hide the publish action button under the drive selection button which is quite annoying because our blog will remain empty without that :-)

testing environment :

  • eXo Platform 4.1-M2 Community
  • java 1.7.0_55
  • Chrome 35.0.1916.153
  • Blog add-on 1.1.0 installed with the Add-on Manager

blog width

sort posts by date in admin

In the Admin page, it would be nice to have the blog posts ordered by last change date from the most recent ones to the least recent ones, this way we can quickly find our blog post especially if like 99 % of the time it is a recent one.

Wheel of the death when we clic on a draft post

In the Blog Admin screen, when we clic on draft post, the loading popup start to rotate but never stop (and this prevent us to do anything on the screen). At the same time, a WARN log line is printed in the logs

2014-06-17 18:08:07,776 | WARN  | Can't find resource for bundle org.gatein.common.i18n.ParentChildResourceBundle, key PublicationStates.draft [org.exoplatform.ecm.webui.utils.Utils<http-nio-0.0.0.0-8080-exec-10>]

testing environment :

  • eXo Platform 4.1-M2 Community
  • java 1.7.0_55
  • Chrome 35.0.1916.153
  • Blog add-on 1.1.0 installed with the Add-on Manager

Wheel of death

let users publish their own posts

currently, blog publication relies on standard publication. Hence, it requires the help of a web-contributor to publish. We should give any user to publish his posts

reply to comments

In our blog post when we see a comment, we cannot answer it directly

Improve blog post url

find a way to improve the blog post url to have something without parameters :

http://int.exoplatform.org/portal/intranet/blog/article?content-id=/repository/collaboration/Groups/platform/users/Documents/2012/11/23/my-blog-post

should be for exemple

http://int.exoplatform.org/portal/intranet/blog/article/2012/11/23/my-blog-post

Add a way to go back to blog home from a post detail page

There is actually no way / link to go back to the Blog Home (posts list) when we are on a Blog Post detail page. This enforce us to use the Global Navigation bar which is painful because there is several levels in the navigation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.