From c500a2be38afcbb5688537d97c7c3ee30a57dba4 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Fri, 30 Dec 2022 21:20:02 -0500 Subject: parse and persist feeds from handlers --- sample-cgi-handler.sh | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'sample-cgi-handler.sh') diff --git a/sample-cgi-handler.sh b/sample-cgi-handler.sh index 5cafc84..b9b195d 100755 --- a/sample-cgi-handler.sh +++ b/sample-cgi-handler.sh @@ -1,14 +1,9 @@ #!/bin/bash -echo "Content-type: application/activity+json" +echo "Content-type: application/atom+xml" echo "" -echo '{ - "@context": "https://www.w3.org/ns/activitystreams", - "type": "OrderedCollection", - "totalItems": 1, - "orderedItems": [ - { - "type": "Note", - "content": "hi" - } - ]}' +echo ' + + asd + +' exit 0 -- cgit v1.2.3