[jboss-jira] [JBoss JIRA] (DROOLS-959) drools.org jbpm.org and kiegroup.org: show aggregated blog titles with link
Geoffrey De Smet (JIRA)
issues at jboss.org
Tue Oct 20 11:02:00 EDT 2015
Geoffrey De Smet created DROOLS-959:
---------------------------------------
Summary: drools.org jbpm.org and kiegroup.org: show aggregated blog titles with link
Key: DROOLS-959
URL: https://issues.jboss.org/browse/DROOLS-959
Project: Drools
Issue Type: Feature Request
Affects Versions: 6.3.0.Final
Reporter: Geoffrey De Smet
optaplanner.org already has a panel of it's blog entries on every page.
Mark wants the same for drools.org and jbpm.org - but each of those will need to aggregated over multiple blogs (for example: Kris uses a different blog than Mauricio).
Furthermore, kiegroup.org should aggregate all blogs (so drools, optaplanner and jbpm)
Requirements:
1) server side aggregation and filtering. Planet jboss already does this, so we don't need to have a server side ourselves:
http://planet.jboss.org/#projects=optaplanner,drools,jbpm
Planet jboss exposes it at an atom feed already (the little button at the top of the previous page), which gives this url:
http://dcp2.jboss.org/v2/rest/feed/?sys_type=blogpost&sortBy=new-create&feed_title=JBoss%20Developer%20Recent%20Posts%20for%20projects%20OptaPlanner,%20Drools,%20jBPM&project=optaplanner&project=drools&project=jbpm
2) In our static websites, we need to fetch that feed url and then display it nicely in a panel like optaplanner.org does.
Here's the html/CSS that renders the optaplanner.org one:
https://github.com/droolsjbpm/optaplanner-website/blob/master/_partials/latestBlogPosts.html.haml
See also
https://github.com/droolsjbpm/optaplanner-website/blob/master/_layouts/normalBase.html.haml
Note that the Ruby code there is executing at built time. I 'd recommend to not reuse the Ruby code, only the design (div's and css).
3) To fetch that url and fill the DOM of that div panel, you'll probably want to use javascript/jquery, such as:
https://github.com/jfhovinne/jFeed
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list