Skip to content

A simple syndication server implementation that aggregates and distributes ATOM feeds

Notifications You must be signed in to change notification settings

Myooooo/syndication-server

Repository files navigation

syndication-server

A simple syndication server implementation that aggregates and distributes ATOM feeds

Compile the files

$javac -cp ".:./lib/*" -d ./ *.java

Run automated test scripts

One content server, one GET client

$./test_single_client.sh

One content server, many GET clients

$./test_multiple_client.sh

Test manually

Start the aggregation server

$java -cp ".:./lib/*" ds.assignment2.AggregationServer PORT &

where PORT is the port number that the server starts on

To start a client that sends GET request for atom.xml

$java -cp ".:./lib/*" ds.assignment2.GETClient HOST

where HOST is URL to the server of format

The default value is 127.0.0.1:4567

To start a content server that sends PUT request to update atom.xml

$java -cp ".:./lib/*" ds.assignment2.ContentServer HOST PATH

where HOST is URL to the server of format

and PATH is the path to the input file

To test a simple content server -> aggregation server -> client model

$java -cp ".:./lib/*" ds.assignment2.AggregationServer &
$java -cp ".:./lib/*" ds.assignment2.ContentServer 127.0.0.1:4567 input.txt
$java -cp ".:./lib/*" ds.assignment2.GETClient > output.txt

About

A simple syndication server implementation that aggregates and distributes ATOM feeds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published