Thread:Project:Support desk/Wordpress queries and wikipedia/reply (3)


 * Use whatever method you know (or will learn) to get the information from WordPress (ask WordPress support)
 * Use MediaWiki's API on http://en.wikipedia.org/w/api.php to get information about it. Or if you want to just get the article, fetch URLs like: http://en.wikipedia.org/w/index.php?title=Email&action=render (render = just article without header/footer/sidebar etc.).
 * Then in PHP (getWikiIntroParagraph) extract the first one (or two) -tags. And with what you have left, use strip_tags to get rid of other unwanted html code, and then you have an clear-text excerpt.:

"Electronic mail, commonly called email or e-mail, is a method of exchanging digital messages from an author to one or more recipients. Modern email operates across the Internet or other computer networks."