Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: RSS Feed #40

Open
jonroberts opened this issue Apr 28, 2013 · 2 comments
Open

Feature Request: RSS Feed #40

jonroberts opened this issue Apr 28, 2013 · 2 comments

Comments

@jonroberts
Copy link
Collaborator

Erik - the astronomer behind the myspacecal app - is interested in an RSS feed for tracking what the telescopes are up to.

@ronaldbradford
Copy link
Collaborator

Can I get a template for how you want the specifics to be presented (see the <item>). What does the viewer want to see in <title> and <description>

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
  <title>SpaceCalNYC</title>
  <link>http://spacecalnyc.com&lt;/link>
  <description>Current Satellite Information</description>
<language>en-us</language>
<pubDate>Sat, 07 Sep 2002 00:00:01 GMT</pubDate>
  <item>
    <title>#SOURCE# - #TARGET# - #L# - #B#7</title>
   <link>http://spacecalnyc.com&lt;/link>
    <description>
RA: #RA_STR# (#RA#)
DEC: #DEC_STR# (#DEC)
#START# to #END#
</description>
  </item>
</channel>
</rss>

current data is
{'b': -59.79254216161815, 'dec_str': '-5d0m33.23s', 'ra_str': '2h17m47.519s', '_id': 'Hubble|IC1604030', 'end': datetime.datetime(2013, 1, 13, 8, 30, 40), 'target': 'Z73-BRIGHT-LAE', 'start': datetime.datetime(2013, 1, 13, 7, 51, 10), 'l': 169.69288315465354, 'source': 'Hubble', 'ra': 34.44799583333333, 'dec': -5.00923055555558}

@jonroberts
Copy link
Collaborator Author

That works for me, but change RA, DEC to ra: dec:

No need to put L and B in the title either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants