Index: tools/rdnap.py
===================================================================
--- tools/rdnap.py	(revision 8867)
+++ tools/rdnap.py	(revision 8869)
@@ -1,4 +1,19 @@
+import yaml
+import urllib
+
 CACHE_FILE = '/tmp/rd2etrs.yaml'
 coordinates = None
+
+def get_yaml(gfile):
+  """ Get configuration yaml for 'item'"""
+  f = open(gfile, 'r')
+  datadump = yaml.load(f)
+  return datadump
+
+def write_yaml(gfile, datadump):
+  """ Write configuration yaml for 'item'"""
+  f = open(gfile, 'w')
+  f.write(yaml.dump(datadump, default_flow_style=False))
+  f.close()
 
 def etrs2rd(lam, phi):
