You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sv...@apache.org on 2007/09/18 07:29:37 UTC

svn commit: r576706 - /incubator/tuscany/java/sca/samples/feed-aggregator/README

Author: svkrish
Date: Mon Sep 17 22:29:37 2007
New Revision: 576706

URL: http://svn.apache.org/viewvc?rev=576706&view=rev
Log:
applying patch subitted in https://issues.apache.org/jira/browse/TUSCANY-1729

Modified:
    incubator/tuscany/java/sca/samples/feed-aggregator/README

Modified: incubator/tuscany/java/sca/samples/feed-aggregator/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/feed-aggregator/README?rev=576706&r1=576705&r2=576706&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/feed-aggregator/README (original)
+++ incubator/tuscany/java/sca/samples/feed-aggregator/README Mon Sep 17 22:29:37 2007
@@ -1,14 +1,13 @@
 Feed Aggregator Sample
 ======================================
-This sample demonstrates using the Feed binding to aggregator ATOM and RSS
-and publish a new aggregated feed.
+This sample demonstrates using the Feed binding to aggregate ATOM and RSS
+feeds and publish a new aggregated feed.
 
 The README in the samples directory (the directory above this) provides 
 general instructions about building and running samples. Take a look there 
 first. 
 
-If you just want to run it to see what happens open a command prompt, navigate
-to this sample directory and do:
+If you run the sample using ant, navigate to this sample directory and do:
 
 ant run
 
@@ -20,8 +19,33 @@
 
 java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-feed-aggregator.jar feed.SampleServer
 
-Now the server is started you can point your Web browser to the URL of the
-aggregated feeds.
+You should see the following output on the screen.
+
+run:
+    [java] Added Servlet mapping: http://localhost:8083/rssAggregator
+    [java] Added Servlet mapping: http://localhost:8083/atomAggregator/*
+    [java] Sample Feed server started (press enter to shutdown)
+
+    [java] To read the aggregated feeds, point your Web browser to the following addresses:
+    [java] http://localhost:8083/atomAggregator
+    [java] http://localhost:8083/atomAggregator/atomsvc (for the Atom service document)
+    [java] http://localhost:8083/rssAggregator
+    [java] http://localhost:8083/atomAggregator?feedType=rss_2.0
+    [java] http://localhost:8083/rssAggregator?feedType=atom_1.0
+     
+As this point the aggregated Feeds are exposed by a web server started
+automatically by the SCA runtime. You can later stop the server by pressing enter.
+
+Now that the server is started you can point your Web browser to each URL of the
+aggregated feeds to see the information in your broswer. These URLs are:
+
+http://localhost:8083/atomAggregator
+http://localhost:8083/atomAggregator/atomsvc 
+http://localhost:8083/rssAggregator
+http://localhost:8083/atomAggregator?feedType=rss_2.0
+http://localhost:8083/rssAggregator?feedType=atom_1.0
+
+** Please note that if your browser is not configured correctly to receive feed information, you will be prompted to open each file that contains the feed information in xml.
 
 Sample Overview
 ---------------
@@ -66,9 +90,7 @@
     [java] http://localhost:8083/atomAggregator?feedType=rss_2.0
     [java] http://localhost:8083/rssAggregator?feedType=atom_1.0
      
-As this point the aggregated Feeds are exposed by a web server started
-automatically by the SCA runtime. To stop the server just press enter.
-
+ 
 Building The Sample Using Maven 
 -------------------------------------------
 With either the binary or source distributions the sample can be built using



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org