<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Flask on iMil.net</title>
    <link>http://imil.net/blog/tags/flask/</link>
    <description>Recent content in Flask on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 28 Jul 2013 23:05:45 +0000</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/flask/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Github flavored markdown with python</title>
      <link>http://imil.net/blog/posts/2013/github-flavored-markdown-with-python/</link>
      <pubDate>Sun, 28 Jul 2013 23:05:45 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2013/github-flavored-markdown-with-python/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m slowly migrating some parts of my personal Wiki to &lt;a href=&#34;http://github.com&#34;&gt;Github&lt;/a&gt; using their own &lt;em&gt;markdown&lt;/em&gt; syntax. Before committing, I wanted to make sure the docs look like they should. Here&amp;rsquo;s a small &lt;a href=&#34;http://flask.pocoo.org/&#34;&gt;Flask&lt;/a&gt; snippet I wrote in order to achieve this:&lt;/p&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;!-- raw HTML omitted --&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://pypi.python.org/pypi/Markdown&#34;&gt;Python Markdown&lt;/a&gt; has an extension called &lt;a href=&#34;http://pythonhosted.org/Markdown/extensions/fenced_code_blocks.html&#34;&gt;fenced code blocks&lt;/a&gt; which supports &lt;em&gt;Github&lt;/em&gt;&amp;rsquo;s tidle (```) syntax, thus making this small program&amp;rsquo;s output similar to what the doc will finally look like.&lt;/p&gt;</description>
    </item>
    <item>
      <title>LDAP Flask-Login snippet</title>
      <link>http://imil.net/blog/posts/2013/ldap-flask-login-snippet/</link>
      <pubDate>Sat, 06 Jul 2013 10:38:55 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2013/ldap-flask-login-snippet/</guid>
      <description>&lt;p&gt;At ${DAYWORK}, I am writing a simple &lt;a href=&#34;http://flask.pocoo.org/&#34;&gt;Flask&lt;/a&gt; web frontend for our new information system. I wanted to have a simple authentication method and so I found the &lt;a href=&#34;https://pypi.python.org/pypi/Flask-Login&#34;&gt;Flask-Login&lt;/a&gt; extention for &lt;em&gt;Flask&lt;/em&gt; which takes care of user validation, session remembrance , and has a callback method in order to plug the authentication on whatever backend you&amp;rsquo;d like.&lt;/p&gt;&#xA;&lt;p&gt;I came up with that little piece of code which makes &lt;em&gt;Flask-Login&lt;/em&gt; check a &lt;em&gt;user / password&lt;/em&gt; couple against a LDAP server, and validates a user regarding its &lt;code&gt;user ID&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
