implementing page content handling