Sample codes of automatically merging and streaming pagelets.