You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by richiebaby <ri...@logica.com> on 2008/07/23 13:35:22 UTC

Aggregator question - is it possible to include/exclude weblogs?

Hi,

I would simply like confirmation that I am right in thinking that if you use
an aggregator front page weblog, then the aggregator has access to the
posts/comments of all other weblogs and there is not a way to exclude a
weblog from the aggregator without disabling the weblog.

Thank you.
-- 
View this message in context: http://www.nabble.com/Aggregator-question---is-it-possible-to-include-exclude-weblogs--tp18608792s12275p18608792.html
Sent from the Roller - Dev mailing list archive at Nabble.com.


Re: Aggregator question - is it possible to include/exclude weblogs?

Posted by richiebaby <ri...@logica.com>.
I got the planet subscriptions working,  I was able to subscribe to blogs
within Roller itself using the following newsfeed URL:

http://localhost:8080/roller/dummyOne/feed/entries/rss

The localhost:8080 was the important bit.

-- 
View this message in context: http://www.nabble.com/Aggregator-question---is-it-possible-to-include-exclude-weblogs--tp18608792s12275p18947421.html
Sent from the Roller - Dev mailing list archive at Nabble.com.


Re: Aggregator question - is it possible to include/exclude weblogs?

Posted by richiebaby <ri...@logica.com>.

richiebaby wrote:
> 
> 
> Dave Johnson-8 wrote:
>> 
>> On Wed, Jul 23, 2008 at 9:40 PM, Nathan Beyer <nd...@apache.org> wrote:
>>> I think if you use the planet aggregator as the front page, there may be
>>> a
>>> way to remove the entire-site feed from planet and then just add
>>> individual
>>> blog feeds as desired. It has been a while since I played with the
>>> planet
>>> admin page, so I don't recall exactly what can and can't be done.
>> 
>> Yes, that approach would work. Planet creates a default aggregation
>> group which includes all blogs in the system, but you don't have to
>> use that. Instead, you'd create a new aggregation group in planet, add
>> only the blogs you want and then display that group on your site's
>> front page.
>> 
>> - Dave
>> 
>> 
> 
> Thanks for the response.
> 
> Could you please breifly explain what this 'Planet' system is, after
> reading the user guides I am still none the wiser?
> 
> It appeared as though 'Planet' settings would be made to the custom
> properties file but I haven't found an example of what to put in there and
> what the desired outcome should be.
> 
> I am basically hoping to have 2 aggregator pages on one Roller
> installation.
> 
> Thanks
> 
> 

Update: So I've been able to configure Planet by following the instructions
on page 14 of the roller-install-guide.pdf.

I also had to make use of the 4.0 release notes as there was a lot of info
missing from the install guide, for example the need for a
planet-custom.properties file.

useful link:
http://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+Release+Notes

New Problem
------------

I am having difficulty creating a new aggregator with a weblog that is
within Roller. I have gone to the Planet Admin/Subscriptions screen and am
trying to add my Roller weblog called 'dummyOne'. 

In the Newsfeed URL I am putting: http://hostname/roller/dummyOne/

However, I receive the error message: Duplicate subscription? - Connection
refused: connect

Should I be able to add weblogs like this?

The stack trace from the logs is:

ERROR 2008-08-11 15:13:11,537 PlanetSubscriptions:save - Unexpected error
saving subscription
Error fetching subscription - http://hostname/roller/dummyOne
--- ROOT CAUSE ---
java.net.ConnectException: Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at
com.sun.syndication.fetcher.impl.HttpURLFeedFetcher.retrieveFeed(HttpURLFeedFetcher.java:112)
	at
org.apache.roller.planet.business.fetcher.RomeFeedFetcher.fetchSubscription(RomeFeedFetcher.java:87)
	at
org.apache.roller.weblogger.planet.business.WebloggerRomeFeedFetcher.fetchSubscription(WebloggerRomeFeedFetcher.java:72)
	at
org.apache.roller.planet.business.fetcher.RomeFeedFetcher.fetchSubscription(RomeFeedFetcher.java:66)
	at
org.apache.roller.weblogger.planet.ui.PlanetSubscriptions.save(PlanetSubscriptions.java:113)
	at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)

-- 
View this message in context: http://www.nabble.com/Aggregator-question---is-it-possible-to-include-exclude-weblogs--tp18608792s12275p18926900.html
Sent from the Roller - Dev mailing list archive at Nabble.com.


Re: Aggregator question - is it possible to include/exclude weblogs?

Posted by richiebaby <ri...@logica.com>.

Dave Johnson-8 wrote:
> 
> On Wed, Jul 23, 2008 at 9:40 PM, Nathan Beyer <nd...@apache.org> wrote:
>> I think if you use the planet aggregator as the front page, there may be
>> a
>> way to remove the entire-site feed from planet and then just add
>> individual
>> blog feeds as desired. It has been a while since I played with the planet
>> admin page, so I don't recall exactly what can and can't be done.
> 
> Yes, that approach would work. Planet creates a default aggregation
> group which includes all blogs in the system, but you don't have to
> use that. Instead, you'd create a new aggregation group in planet, add
> only the blogs you want and then display that group on your site's
> front page.
> 
> - Dave
> 
> 

Thanks for the response.

Could you please breifly explain what this 'Planet' system is, after reading
the user guides I am still none the wiser?

It appeared as though 'Planet' settings would be made to the custom
properties file but I haven't found an example of what to put in there and
what the desired outcome should be.

I am basically hoping to have 2 aggregator pages on one Roller installation.

Thanks

-- 
View this message in context: http://www.nabble.com/Aggregator-question---is-it-possible-to-include-exclude-weblogs--tp18608792s12275p18922824.html
Sent from the Roller - Dev mailing list archive at Nabble.com.


Re: Aggregator question - is it possible to include/exclude weblogs?

Posted by Dave <sn...@gmail.com>.
On Wed, Jul 23, 2008 at 9:40 PM, Nathan Beyer <nd...@apache.org> wrote:
> I think if you use the planet aggregator as the front page, there may be a
> way to remove the entire-site feed from planet and then just add individual
> blog feeds as desired. It has been a while since I played with the planet
> admin page, so I don't recall exactly what can and can't be done.

Yes, that approach would work. Planet creates a default aggregation
group which includes all blogs in the system, but you don't have to
use that. Instead, you'd create a new aggregation group in planet, add
only the blogs you want and then display that group on your site's
front page.

- Dave

Re: Aggregator question - is it possible to include/exclude weblogs?

Posted by Nathan Beyer <nd...@apache.org>.
I think if you use the planet aggregator as the front page, there may be a
way to remove the entire-site feed from planet and then just add individual
blog feeds as desired. It has been a while since I played with the planet
admin page, so I don't recall exactly what can and can't be done.

-Nathan

On Wed, Jul 23, 2008 at 6:35 AM, richiebaby <ri...@logica.com> wrote:

>
> Hi,
>
> I would simply like confirmation that I am right in thinking that if you
> use
> an aggregator front page weblog, then the aggregator has access to the
> posts/comments of all other weblogs and there is not a way to exclude a
> weblog from the aggregator without disabling the weblog.
>
> Thank you.
> --
> View this message in context:
> http://www.nabble.com/Aggregator-question---is-it-possible-to-include-exclude-weblogs--tp18608792s12275p18608792.html
> Sent from the Roller - Dev mailing list archive at Nabble.com.
>
>