Skip to content

dhcole/cloudindex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

cloudindex

A GitHub webhook endpoint to generate AWS CloudSearch index updates from a Jekyll site.

Application Flow

  • receive webhook post
  • get added, modified, and deleted _posts/* files
  • parse yml and content
    • interpret published flag
    • format JSON object with SDF fields
      • use url.replace('/', '_') for id [1]
      • use last commit's timestamp for version
  • output SDF files
  • batch SDF files in groups < 5mb
  • push SDF files to CS

[1] url formulation

  1. permalink, if specified
  2. read _config.yml for permalink structure
    • use default
    • parse the filename (title, year, month, date, remove leading zeroes), category / categories attribute

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published