add metadata file and improve the metadata publication
remove third argument of reRunSubscription
use self.isInfiniteScroll() instead