This page last changed on Nov 17, 2005 by jens@atlassian.com.

Displays the contents of an RSS feed. RSS is an Internet standard for syndicating news, and is used by many news sites and weblogs.

Please note that updates are only retrieved after at least an hour has elapsed since the last update.

Usage:
{rss:url=my_rss_url}

Parameter Required Default Description
my_rss_url yes none the url to the RSS feed
max no none Maximum entries to be displayed
showTitlesOnly no false Show only the title of the enrty

Example:
{rss:url=http://feeds.feedburner.com/AtlassianDeveloperBlog}

gives:

Atlassian Developer Blog (rss_2.0)
WebDAV in Confluence
Confluence can now function as a full WebDAV server.
Recommended upgrade to the Plugin Repository Client
Just a quick note to let everyone know that we've released a small upgrade (1.3.1) to the Plugin Repository Client. The new version recognizes the Atlassian-bundled plugins and does not attempt to uninstall them. (Confluence doesn't allow it, and attempting...
Code Signing the JIRA installer
So we started work on the JIRA installer for Windows this week. Amongst the heap of tasks involved in this activity, there was one little task labeled 'Get code-signing certificate to stop windows warning about security of unknown publisher' with...
Get your Wiiki on
It was with great trepidation that I directed the Nintendo Wii's new web browser to the Atlassian extranet's Confluence instance. Surely this was as foreign an environment that Confluence was going to be displayed in as ever. Somewhat surprisingly,...
Changes to plugin storage in Confluence 2.3
Confluence 2.3's major new feature was Massive, the Confluence clustering solution. However, turning Confluence into a clustered app introduced some fairly fundamental changes into our architecture. For example, since there may be many, separate Confluence Massive nodes on physically separated...
Updating the Stack - Migrating from WebWork 1.4 to 2.2.4
With a recent release of Crowd, our team decided to upgrade the WebWork 1.4 stack to version 2.2.4 which as of now is the most recent release. When we originally sat down to write Crowd (previously IDX), we evaluated a...
Javablogs - my first 6 weeks
So when I came to Atlassian I didn't know what to expect. First day, I was introduced to the Javablogs source code on IDEA, running on Resin and Tomcat. For most of you, this is probably a walk in the...
JIRA uberbox
At Atlassian we believe in eating your own dogfood. We've therefore setup Bamboo to continuously build and integrate our own products. Over time we keep adding new types of builds (plugins, tools, etc) and existing builds start taking more time...
JIRA + Version Control: Two great tastes
Many of JIRA's users are software developers, and most of them also use version control software. (If you're working on a software project and you're not using version control, you should be. It's question #1 on the Joel Software Test.)...
Library Updates
We know that plugin developers often make use of the third-party libraries that we ship with Confluence -- things like the Apache Commons libraries, or joda-time. However, given the effort involved in upgrading, we don't always ship the most-recent versions...
Job Manager Plugin
I occasionally write Confluence plugins that use nightly jobs to perform long-running tasks. While you can get pretty far with unit testing, sometimes you want to force the job to run while you are clicking around Confluence. To make...
Taming wild classpaths
One of the more frustrating things to diagnose when supporting our products are classpath issues. Help is now here.
Value of software self-tests
Tests are a very valuable component of software development. There are several categories of tests. There are unit tests that exercise a single class in Java programming language - a single unit of work, hence the name unit tests. Then...
How to use file separator when loading resources
The answer is "Don't use it!" A file separator is a character that is used to separate directory names that make up a path to a particular location. This character is operating system specific. On Microsoft Windows, it is a...
Snippet Plugin
Tired of keeping your source code comments or code snippets in sync with your documentation? Introducing the Snippet Plugin 2.0, which allows you to include text snippets from external URLs such as Subversion or ViewCVS in your Confluence pages....

Is there a way to limit this to headlines and not the full description?

Posted by smholck at Feb 17, 2005 16:07

I'd like to limit the size of the RSS feed. I'd just like to show the latest entry from a blog and just show the first few lines...
Could something like

Could not retrieve http://host.com/rss.xml - Page Not Found
work? Is there a "lines or maxlines" parameter that could be used? I think this function would be useful because I don't want to repeat an entire blog entry on my wiki site.

Posted by at May 10, 2005 16:12

I was trying to add the following to a page in Confluence but an error occurred.

ScienceDaily Headlines (rss_2.0)
(Daily headlines about discoveries in the physical and life sciences, health and medicine, the environment, and technology, from the world's leading universities and research centers.)
Male-killing Bacteria Makes Female Butterflies More Promiscuous
A study at UCL (University College London) finds that a high-prevalence of male-killing bacteria active in many species of insect including the butterfly, actually increases female promiscuity and male fatigue.
Cancer Biologists Identify Major Player In Cell Growth
The transcription factor GABP -- a member of a family of crucial gene-regulating proteins -- is required to jump-start the process of cell division, according to research from The Warren Alpert Medical School of Brown University and Rhode Island Hospital. The work, published in Nature Cell Biology, uncovers a new way to control cell growth and points up potential targets for cancer treatments.
Methane Bubbling Through Seafloor Creates Undersea Hills
According to a recent paper published by MBARI geologists and their colleagues, methane gas bubbling through seafloor sediments has created hundreds of low hills on the floor of the Arctic Ocean. These enigmatic features, which can grow up to 40 meters (130 feet) tall and several hundred meters across, have puzzled scientists ever since they were first discovered in the 1940s.
Better Assessment Of Transfusions Could Save Blood
Nearly 95 percent of patients admitted to hospital intensive care units are affected by anemia. Consequently, these patients receive a large number of red blood cell (RBC) transfusions in order to restore proper hemoglobin levels. New research shows that alternative treatments may lead to fewer transfusions, conserving critical blood supplies in hospitals. The report is published in Seminars in Dialysis.
New Player In Commitment To Life As A Fat Cell
Researchers have discovered a pivotal new player in early events that commit fat cell precursors to becoming full-blown fat, according to a report in the February issue of the journal Cell Metabolism, published by Cell Press. Drugs that block some activities of the enzyme, known as xanthine oxidoreductase (XOR), might therefore offer a novel antiobesity therapy designed to fight fat before it even forms, the researchers said.
Parents' Genes, Not Parents' Arguing, May Cause Children's Conduct Problems
A new study has revealed that parents' fighting is not likely a direct cause of children's conduct problems. Rather, the findings showed that parents' genes influenced how much they fought with their spouses. The researchers studied 1,045 twins and their 2,051 children and found that parents who argue frequently may pass along genes for disruptive behavior to their children, who in turn may have conduct problems.
Astronomer Finds Closest Gravitational Lensing Galaxy
A giant elliptical galaxy seen in an image from the Hubble Space Telescope is the closest gravitational lens yet known, according to information released by the Hubble Heritage Project Feb. 6.
Power-boosting Signal In Muscle Declines With Age
As people age, they may have to exercise even harder to get the benefits afforded to younger folk. That's the suggestion of a report in the February issue of the journal Cell Metabolism, published by Cell Press, showing that a signal that gives muscles a kind of metabolic boost in response to exercise is blunted in older animals.
Man-made Proteins Could Be More Useful Than Real Ones
Researchers have constructed a protein out of amino acids not found in natural proteins, forming a complex, stable structure closely resembling a natural protein. Their findings could help scientists design drugs that look and act like real proteins but won't be degraded by enzymes or targeted by the immune system, as natural proteins are.
Growth Factors Given With Chemotherapy Associated With Increased Risk Of Blood Diseases
Women with breast cancer who receive compounds that stimulate white blood cell production to help their bodies better tolerate chemotherapy are at an increased risk of developing a type of leukemia or a condition called myelodysplastic syndrome, according to a new study in the February 7, Journal of the National Cancer Institute. The authors note that the absolute risk of the conditions is very small, but that risk should still be taken into consideration when making treatment decisions.
Compounds Show Significant Promise Against Potential Bioweapon Toxins
Scientists at the Scripps Research Institute and the University of Wisconsin have identified two small molecules with promising activity against neurotoxins produced by the Clostridium botulinum, a compound so deadly it has been labeled one of the six highest-risk bioterrorism agents by the Centers for Disease Control and Prevention.
Students Who Believe Intelligence Can Be Developed Perform Better
Two studies that followed junior high students have demonstrated that students who believe intelligence can be developed may improve their math achievement. In each study, which each involved two groups of 12-year-olds, one group believed that intelligence could be expanded. This group in both studies showed improvement in math achievement over time. The findings underscore the importance of students' beliefs about their efforts and the need to strengthen motivation and achievement.
Horse Genome Assembled: Thoroughbred Mare's DNA Code Now Freely Available
The first draft of the horse genome sequence has been deposited in public databases and is freely available for use by biomedical and veterinary researchers around the globe, leaders of the international Horse Genome Sequencing Project announced today.
Common Anesthetic May Induce Cell Death, Generation Of Alzheimer's-associated Protein
A new study has found how one of the most commonly used anesthetics may produce Alzheimer's-like changes in the brain. Researchers from Massachusetts General Hospital and colleagues describe the mechanism by which the anesthetic isoflurane may induce both the cell-death process known as apoptosis and the generation of amyloid-beta protein in cultured neural cells.
Microprinting Technique For Patterning Single Molecules
A new process for creating patterns of individual molecules on a surface, known as "microcontact insertion printing," combines control of self-assembled monolayers (SAMs) and a soft-lithography technique known as microcontact printing. The process, which can build surfaces that have molecules with specific functions inserted at known intervals, has potential applications ranging from analysis of biochemical mixtures to molecular-scale electronic components.
Enzyme Wakes Sleeping Genes
Scientists at the German Cancer Research Center discover an enzyme that activates epigenetically silenced genes. For several years now, cancer researchers have been studying a mechanism that contributes to the development of malignant tumors: The cell attaches small molecules containing a carbon atom, called methyl groups, to specific building blocks of DNA, thereby individually switching off the genes thus labeled.
Human's Ecological Footprint In 2015 And Amazonia Revealed
In the February issue of Frontiers in Ecology and the Environment, a recent study shows human population size and affluence are the main drivers of human-caused environmental stressors, while urbanization, economic structure and age of population have little effect. In a review in the same issue, researchers review newly revealed changes in the Amazon rainforests and the ecosystem services they provide.
Mind-set Matters: Why Thinking You Got A Work Out May Actually Make You Healthier
A new study shows that many of the beneficial results of exercise may be due to the placebo effect.
Cold Storage Solution For Global Warming? Carbon Dioxide Could Be Frozen In Underground Reservoirs
Leicester and the British Geological Society (BGS) have proposed storing carbon dioxide in huge underground reservoirs as a way of reducing emissions -- and have even identified sites in Western Europe that would be suitable.
Children Who Sleep Less More Likely To Be Overweight
Children who sleep less are at greater risk of being overweight, according to the first nationally representative, longitudinal investigation of the relationship between sleep, Body Mass Index and overweight status in children 3 to 18. "Even an hour of sleep makes a big difference," said Northwestern University researcher Emily Snell. "An additional hour a night reduced young children's chance of being overweight from 36 percent to 30 percent."
Genes Involved In Coffee Quality Identified
Sucrose plays a vital role in coffee organoleptic quality. A team from CIRAD and the Agricultural Institute of Parana in Brazil has recently identified the genes responsible for sucrose accumulation in coffee beans. This is a new step along the way to producing exceptional coffees. To maintain their incomes, growers are increasingly banking on producing quality coffee. However, improving coffee beverage quality means knowing more about the biological processes - flowering, fruit ripening, etc - that determine end product characteristics. Some compounds (sugars, fats, caffeine, etc) are known to play a role in coffee quality.
Prevalence Of Overactive Bladder Is Overestimated, According To Finnish Study
According to a recent study, overactive bladder is much less common among Finns than earlier research suggests. An article published in PLoS ONE on February 7th demonstrates that overactive bladder occurs in one Finn out of twelve (8%), whereas earlier studies outside Finland estimate a frequency of one in six.
Erosion Of Privacy: Safeguards In A World Of Ambient Intelligence
Whether in the form of sensors in the refrigerator which automatically order more milk or in the car sounding an alarm when the driver starts to become drowsy, "Ambient Intelligence" is the next computer technology revolution. But networked objects equipped with intelligence will only be able to establish themselves if they take proper consideration of users' misgivings, in particular with regard to data protection.
Aging Population Is Causing Major Increase In Cancer Burden, Warn Experts
Between 2004 and 2006, the number of new cases of cancer diagnosed each year in Europe has increased by 300,000 according to new estimates in a report by Peter Boyle in Annals of Oncology. Boyle and colleagues, from IARC, estimate that in 2006 there were 3.2 million new cases of cancer (up from 2.9 million in 2004) and 1.7 million deaths from the disease in the whole of Europe.

Error message:

Error rendering macro: Could not download:
http://www.sciencedaily.com/newsfeed.xml

The above rss feed works well in RSS Feed Reader. Did I do anything wrong? And what rss version does Confluence support?

Posted by mclai at May 11, 2005 14:29

I was trying to add the following to a page in Confluence but an error occurred.

{rss:url=http://www.sciencedaily.com/newsfeed.xml\}

Error message:

Error rendering macro: Could not download:
http://www.sciencedaily.com/newsfeed.xml

The above rss feed works well in RSS Feed Reader. Did I do anything wrong? And what rss version does Confluence support?

Posted by mclai at May 11, 2005 14:30

I have a news feed: http://new.knovel.com/CAM/RSS/notes.jsp which does not work in confulence, it keeps saying that I have non utf-8 chars. I tried putting everything in CDATA and tried to re-encode the strings in Java, but to no avail. Any suggestions?

Posted by cbraunstein@knovel.com at May 16, 2005 21:44

I'm also getting an error when trying to incorporate RSS into a page:

rss: Unable to retrieve http://feeds.feedburner.com/AtlassianDeveloperBlog: 
Could not download: http://feeds.feedburner.com/AtlassianDeveloperBlog - java.net.
UnknownHostException: feeds.feedburner.com

And I used a link from the Confluence documentation to be sure it would work. 

{rss:url=http://feeds.feedburner.com/AtlassianDeveloperBlog}

This is a great feature if I can get it to work.  How can I fix the error?

Posted by musangi@hotmail.com at Dec 28, 2005 11:08

The wiki code you are using is correct, and the error you are getting (UnknownHostException) suggests a server misconfiguration cause. Java doesn't appear able to resolve the host "feeds.feedburner.com" in order to connect.

If you are the server administrator you can start by checking there arent any java security restrictions (these should show up in the application server's logs), also check any firewalling / chrooting / jailing / other restrictions which might be imposed.

If you are not the server administration I suggest you talk to the person responsible - they should be able to help resolve the access problem.

Posted by dhardiker@adaptavist.com at Dec 28, 2005 11:38

seeing the follwoing error trying to use the rss feed

rss: Unable to retrieve http://feeds.feedburner.com/AtlassianDeveloperBlog: Could not download: http://feeds.feedburner.com/AtlassianDeveloperBlog - java.net.UnknownHostException: feeds.feedburner.com

> "If you are the server administrator you can start by checking there arent any java security restrictions (these should show up in the application server's logs), "

and from the server logs i can see :

2006-08-24 07:37:01,112 WARN [util.http.httpclient.HttpClientHttpRetrievalService] get Failed to download http://feeds.feedburner.com/AtlassianDeveloperBlog java.net.UnknownHostException: feeds.feedburner.com

> "getting (UnknownHostException) suggests a server misconfiguration cause. Java doesn't appear able to resolve the host "feeds.feedburner.com" in order to connect."

How do i confugure this corectly ? Iam behind a gateway so is there a config change i can make to resolve this ?

Posted by mpoyser at Aug 24, 2006 02:21

Is there a way to specify a username and password parameter so you could bring up a secured rss feed?

Posted by gpullis at Aug 30, 2006 16:13

Be warned that the wiki markup for pages can be viewed by anyone who can view the rendered page. This could pose a security risk if usernames and passwords are placed on the page.

Posted by dhardiker@adaptavist.com at Aug 31, 2006 03:27

Well, Dan, that'd be a very good point you have there.

Though I think that the security risk is mitigated a bit because only folks with edit permissions should be able to see the wiki markup. Right? Or am I missing something?

Posted by gpullis at Aug 31, 2006 07:33

To be clear, anyone with view privs can see the wiki markup. Go to Info tab at the top of this page and click the View Source button.

If they can see the rendered content, they can see with wiki markup that rendered it.

Posted by dhardiker@adaptavist.com at Aug 31, 2006 07:40

There is s feature request 1 open for this problem which will partly solve the security risk of everyone being able to see the source code.

Cheers,
Jens

1 http://jira.atlassian.com/browse/CONF-6647

Posted by jens@atlassian.com at Sep 06, 2006 17:50

Trawling through the docs then I note that os_username and os_password can be passed as augments to the URL.

http://localhost:8080/confluence/login.action?os_username=un1&os_password=pw1

But how can I achieve the same results using the RSS macro, to a feed like the following;

{rss:url=http://rss.abc.com/MyBlog/rss.xml}

Note the following variation does not work either.

{rss:url=http://os_username=un1:os_password=pw1@rss.abc.com/MyBlog/rss.xml}

NB. I am not concerned that the username and password are viewable in the markup.

Thanks

Posted by globexmrhankscorpio@gmail.com at Jan 09, 2007 02:04

Since os_username and os_password are Atlassian-specific parameters, you might do better with something like this:

{rss:url=http://un1:pw1@rss.abc.com/MyBlog/rss.xml}

However, I'm not certain that will work anyway...

Posted by david@randombits.org at Jan 09, 2007 02:17
Document generated by Confluence on Feb 07, 2007 23:59