Dilbert on Confluence

Hi All

On our confluence we had Daily Dose of dilberts gadget installed on our dashboard and every morning we used to get a new dilbert on our dashboard. I presume it was displayed using some plugin.

From today morning the dilbert has stopped appearing although i can see only the header "Daily Dose of dilbert". No image below it though.

Can anyone help me rectify this issue.

Rahul

2 answers

Are you using this plugin ? : http://www.simplenia.com/confluence-plugins/custom-dashboards

Maybe you could ask them if something changed?

best regards,

Peter

Hi Peter

I went into the manage plugins section and could not find this plugin. How do i find out from where the dilbert is 9was) gettting populated?

Rahul

Saw this article and thought I would answer it

we just have a shell script that use curl on Linux that pulls the daily image down via a crontab and the places it in the image/logo directory in confluence. We then just add a link to the image using the url as the confluence logo directory is accessible.

The crontab runs once a day, so we always have the daily strip.

its fairly simple to setup

cheers

 

Hi Statseeker,

I am trying to do what you mentioned above. Do you mind to go into more detail or possibly show me how you did this?

 

Hi Greg  

It’s a fairly simple solution, I have listed a shell script we use which is crontab’d to run each day, the caveat is our instance of confluence is run on Linux.   All we do is pull the image via a HTTP connection and in our network I just use our HTTP proxy server to get it for me as we are behind a firewall and our confluence server does not have direct access to the internet.   The image is then placed in the same location as where the confluence standard logo images  are stored that you can use for the confluence server, this way it’s easy to then reference the image via the confluence front end via one of the macro’s.   Let me know if you need anything else in terms of info.  

CRONTAB ENTRY:  

0  8  *   *   *   /home/confluence/bin/update_dilbert.sh  

SHELL SCRIPT:  

#!/bin/sh  

. /confluence/.bash_profile  

SOCKS_PROXY=`echo "$http_proxy"`  

curl --proxy $SOCKS_PROXY -s dilbert.com | grep img-comic |grep assets | head -1 |sed 's/.*src="\([ ^"]*\)".*/\1/' |xargs curl --proxy $SOCKS_PROXY -s -o /opt/atlassian/confluence/confluence/images/l ogo/daily_dilbert.gif  

Kind regards,  

James (statseeker )

@Statseeker Admin which macro specifically, to link and access these files?

 

Edit : Managed with nginx routing. But still wondering the macro. Thanks.

Its a image marco in confluence and the URL links to the image on our confluence server.

Example:

https://confluence-server.com/images/logo/daily_dilbert.gif

The shell script above runs once a day to download the latest dilbert image and then stores that local on our confluence server.

Hope that helps.

Cheers

James

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 8 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

85 views 2 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you