How to I pass parameters to Ruby/Python scripts from inside PHP?
- by Roger
Hi, everybody.
I need to turn HTML into equivalent Markdown-structured text. From what I could discover, I have only two good choices:
Python: Aaron Swartz's html2text.py
Ruby: Singpolyma's html2markdown.rb
As I am programming in PHP, I need to pass the HTML code, call the Ruby/Python Script and receive the output back.
I started creating a…