Type alias Data

Data: {
    description: string | null;
    keywords: string[];
    og?: ReturnType<typeof parseOpenGraph>;
    post-content: PostContent;
    published-at: string | null;
    title: string | null;
    updated-at: string | null;
    wordpress-pagetypes?: WPPageType[];
}

Parsed data object

Remarks

The data object is stored in separate data column with jsonb type. See database for live examples.

Type declaration

  • description: string | null

    Short web page description.

    Example

    My progress in second MOOC of DeepLearning.AIs introduction to popular Tensorflow library.
    
  • keywords: string[]

    List of keywords provided by web author for better SEO. This field is obsolete and no longer used as much, but some wordpress SEO plugins may enforce it.

  • Optional og?: ReturnType<typeof parseOpenGraph>

    Open Graph meta data. ‘The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook’. See Open Graph protocol.

  • post-content: PostContent

    Post content data, aggregations and statistics.

  • published-at: string | null

    ISO 8601 timestamp of article publishing.

    Example

    '2023-01-27T14:02:16.000Z' (ISO 8601)
    
  • title: string | null

    Web page title.

    Example

    'MOOC Reflection: convolutional neural networks in TensorFlow - Some blog'
    
  • updated-at: string | null

    ISO 8601 timestamp of last article modification by its author.

    Example

    '2023-01-27T14:02:16.000Z' (ISO 8601)
    
  • Optional wordpress-pagetypes?: WPPageType[]

    List of wordpress page types. See WPPageType. This is used to detect if the page is archive, post, homepage etc.

    Example

    ['home', 'archive', 'page']
    

Generated using TypeDoc