+ Post New Thread
Results 1 to 15 of 15
AV and Multimedia Related Thread, any Xibo [digital signage] users in here? in Technical; Hi all, first post here. I've been working at putting together a free digital signage solution for the college I ...
  1. #1

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    any Xibo [digital signage] users in here?

    Hi all, first post here.

    I've been working at putting together a free digital signage solution for the college I work at, Xibo is what I've gone with as it's free and pretty scaleable.

    I have a virtual linux server running on our back end that runs the Xibo service and a Wordpress install that authenticates through to our eDirectory backend, that all works just great!

    The idea is, to set up the cycle of screens, the groups, the templates & timings by myself - and then have them all drag news in via the wordpress RSS feeds.

    This way my staff shouldn't [!!] bother me every single day - all they have to do is post their news either via email or via the wordpress site itself. [to keep it as 'hands-off' as possible for all involved!]

    even THAT is working just fine - there is just ONE more thing that I need to hammer down before I can release this baby out of testing...

    the RSS feeds being published by wordpress are being cut short - by the looks of it, thanks to the 'content:encoded' tag.

    Has anyone attempted a similar setup using wordpress and xibo? and if so, how did you get around the length-of-RSS problem...?

    I attempted an initial test using posterous, but obviously this throws an externally-reachable blog into the mix, and I'd rather keep this on-site!

    ...really hope someone can help!!

    oh and, merry xmas all


    Benny.

  2. #2

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    sorted!

    Hi all, i got it sorted in the end, so if anyone's been having any similar problems regarding xibo, wordpress, and rss, here's how I got it working...

    the problem originates from the wordpress install - head to your web root folder - in my case [under SLES]

    /srv/www/htdocs/

    and copy a backup of all the wordpress files...

    cp -r * wordpress/ ~/Desktop/Backup/wordpress_bkp

    once that's done, you only need to edit one file in particular...

    vi /srv/www/htdocs/wordpress/wp-includes/feed-rss2.php

    it's a pretty short bit of php code that looks a little something like this...


    ]]>

    ]]>
    post_content ) > 0 ) : ?>
    ]]>

    ]]>




    notice how the reference to contains the_content_feed? that's a slight hack, it places the entire post into the description/excerpt that Xibo asks for... Don't worry about the content:encoded chunk, you don't need to change it since you're only going to use the which already contains all the data.

    that's the bit I changed to get the RSS from wordpress displaying full feeds that just pipe themselves happily into Xibo...

    hope this might help someone out there!

    oh and always keep backups!

  3. Thanks to benharker from:

    plexer (21st December 2010)

  4. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,460
    Thank Post
    646
    Thanked 1,614 Times in 1,444 Posts
    Rep Power
    419
    Many thanks for posting your solution I think it's a great combination that you've come up with there so it's even easier for people to have control over certain aspects of the xibo content in this case the rss feeds

    Ben

  5. #4

    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    123
    Thank Post
    8
    Thanked 11 Times in 10 Posts
    Rep Power
    19
    Thanks I might just have a go at this.

  6. #5

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by ianniow View Post
    Thanks I might just have a go at this.
    do it mate! it'll be worth it when it's all up and running. would love to hear how you get on

  7. #6

    Join Date
    Mar 2010
    Posts
    222
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    We do the exact same thing here, and the crazy thing is THE STAFF ACTUALLY USE IT.

    Yes, its 100% true.

    We have two reception screens and 2 staffroom screens, all running from 2 wordpress installs. Works a treat, even if I do say so myself.

  8. #7

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by skell View Post
    We do the exact same thing here, and the crazy thing is THE STAFF ACTUALLY USE IT.

    Yes, its 100% true.

    We have two reception screens and 2 staffroom screens, all running from 2 wordpress installs. Works a treat, even if I do say so myself.
    awesome! nice to know i was barking up the right tree for once with my wordpress idea.

    currently we're allowing all staff to log in to the wordpress as contributors, heads of departments can then check spelling and publish the posts - the categories that staff post under define which xibo layout they're displayed on - ie: 1 screen in foyer, for ten minutes it's the music department 'channel', the next ten minutes it's the PE channel, and it just cycles through

    just one public facing screen as of yet, but there's hopefully a few more in the works for different departments

    xibo's a great bit of software and i'll happily recommend it to anyone in IT

  9. #8

    Join Date
    Mar 2010
    Posts
    222
    Thank Post
    34
    Thanked 39 Times in 35 Posts
    Rep Power
    17
    Are you running any Windows servers? We intergrated it into our AD so they can use their domain creds. And yes, same way, categories define where it goes.

    Great minds eh!

  10. #9

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by skell View Post
    Are you running any Windows servers? We intergrated it into our AD so they can use their domain creds. And yes, same way, categories define where it goes.

    Great minds eh!
    similar - our back end is eDir/novell, so staff authenticate via an LDAP plugin on the wordpress install, letting the users log in with their existing creds was a make or break

    xibo itself is running from a virtual suse box

    unfortunately the clients have to be windows [had no luck with the 'nix client]... if it weren't for that i'd go for a totally linux setup...

  11. #10

    Join Date
    Jul 2011
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Ben, Where do I place this code? Do I have to replace all the code in rss2.php with your new code? Regards, Ben


    Quote Originally Posted by benharker View Post
    Hi all, i got it sorted in the end, so if anyone's been having any similar problems regarding xibo, wordpress, and rss, here's how I got it working...

    the problem originates from the wordpress install - head to your web root folder - in my case [under SLES]

    /srv/www/htdocs/

    and copy a backup of all the wordpress files...

    cp -r * wordpress/ ~/Desktop/Backup/wordpress_bkp

    once that's done, you only need to edit one file in particular...

    vi /srv/www/htdocs/wordpress/wp-includes/feed-rss2.php

    it's a pretty short bit of php code that looks a little something like this...


    <=!=[=C=D=A=T=A=[]=]=>

    <=!=[=C=D=A=T=A=[]=]=>
    post_content ) > 0 ) : ?>
    <=!=[=C=D=A=T=A=[]=]=>

    <=!=[=C=D=A=T=A=[]=]=>




    notice how the reference to contains the_content_feed? that's a slight hack, it places the entire post into the description/excerpt that Xibo asks for... Don't worry about the content:encoded chunk, you don't need to change it since you're only going to use the which already contains all the data.

    that's the bit I changed to get the RSS from wordpress displaying full feeds that just pipe themselves happily into Xibo...

    hope this might help someone out there!

    oh and always keep backups!

  12. #11

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Hey Ben, nice name dude!

    i'll have a look at the relevant php file at my end, it's been a long time since i've even looked at it! [in a good way - it's been happily running itself all year!!]

    will post up what i find

  13. #12

    Join Date
    Jul 2011
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yeah Ben, name is cool! Looking forward tot your reply! We try to fill a full region in Xibo with a full rss message (title and description). But for now we only see a few lines of the message with a [...] sign at the end of the last line. Maybe you can help us?

    Quote Originally Posted by benharker View Post
    Hey Ben, nice name dude!

    i'll have a look at the relevant php file at my end, it's been a long time since i've even looked at it! [in a good way - it's been happily running itself all year!!]

    will post up what i find

  14. #13

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    -sample- feed-rss2.php file

    here's my current edited feed-rss2.php file

    all you have to do is check it against your own, or, copy/paste, add it into your wordpress install and replace your current one! *may not work on newer wordpress installs, if anyone wants to confirm this, that'd be awesome

    hope it helps, let me know how you get on!


    /**
    * RSS2 Feed Template for displaying RSS2 Posts feed.
    *
    * @package WordPress
    */

    header('Content-Type: ' . feed_content_type('rss-http') . '; charset=' . get_option('blog_charset'), true);
    $more = 1;

    echo ''; ?>

    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"

    >


    <?php bloginfo_rss('name'); wp_title_rss(); ?>










    <?php the_title_rss() ?>








    ]]>

    ]]>
    post_content ) > 0 ) : ?>
    ]]>

    ]]>










  15. #14

    Join Date
    Dec 2010
    Location
    Southampton
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    BenB - above php code should definitely fix that problem, the file contains the small edit i made to get around that

    be aware that any wordpress updates you apply may write-over the fix, so keep a copy just in case

  16. #15

    Join Date
    Jul 2011
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi BenH. Do I agree you? If I make a file with the name feed-rss2.php with this code in it and put it in the right wordpress directory and execute it. Then it should be working? It doesn't do here? I'm sure I do something wrong. Can you help me?

    Quote Originally Posted by benharker View Post
    BenB - above php code should definitely fix that problem, the file contains the small edit i made to get around that

    be aware that any wordpress updates you apply may write-over the fix, so keep a copy just in case

SHARE:
+ Post New Thread

Similar Threads

  1. Digital Signage
    By sqdge in forum Hardware
    Replies: 24
    Last Post: 7th March 2011, 10:32 AM
  2. Replies: 5
    Last Post: 5th November 2010, 08:42 PM
  3. Digital signage
    By HodgeHi in forum AV and Multimedia Related
    Replies: 39
    Last Post: 27th November 2009, 03:18 PM
  4. digital signage
    By strawberry in forum How do you do....it?
    Replies: 12
    Last Post: 28th August 2008, 05:22 PM
  5. Digital Signage
    By SpuffMonkey in forum How do you do....it?
    Replies: 8
    Last Post: 9th August 2007, 10:24 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •