Select the types of activity you want to include in your feed.
Use -C and basename when creating tar archives
Change tar invocation to run from the directory's parent and archive just the basename so the tarball does not include the full path and works with absolute paths.