HaXtatic Docs

hax.feedView

Renders posts from the specified feeds grouped as specified, delegating display logic to the specified X-tags.

In a nutshell

  1. Declaration of an |X|hax.feedView:myTag: .. directive in a *.haxproj file,
    • further configuring: xnameGroupHeading, feedWrap, xnameFeedItem, feedMore
  2. Usage anywhere: {X|myTag: feeds = [..] , groups = [..] , xVars = [..] |}

This topic is in a compact format for users already familiar with the essentials of declaring X-tags and invoking them. If found challenging, try the more-elaborate-and-introductory topics first to form a better grasp on the basics and overall mechanisms.

Stage:

Early or Page — this X-renderer determines dynamically (documented further below) whether or not it requires a page context for rendering, so depending on each hax.feedView-invoking X-tag's configuration and/or parameters:

  • some encountered during pre-templating (at start-up time) may be eagerly processed immediately in-place (for overall-reduced per-page processing loads),
  • and others will be skipped over, thus only process per-page, once present.

Purpose

Until this topic gets some proper attention, purpose usage and possibilities are best grasped by examining in the HaXtatic project-directory for this very Docs site:

  
…Scroll to: