Skip to content

mtib/sdu_openrss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDU Vacant Positions RSS Feed

Subscribe to SDU Vacant Positions RSS.

Usage

To generate your own RSS based on the current open positions run ChromeDriver for fantoccini, then run cargo run --bin get_sdurss > feed.xml. You can select the used Chrome binary by setting the CHROME_BINARY environment variable.

This is the example script periodically running on mtib.dev to update the feed:

#!/bin/bash

(
    ./chromedriver &
    CD="$!"
    sleep 1
    cd sdu_openrss
    CHROME_BINARY="/usr/bin/chromium-browser" cargo run --bin get_sdurss > ../sdu.xml
    kill $CD
)

I also wrote a blog article about my reasoning and progress.