Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
//*************** Solution 1 **************/ | |
// http://forums.asp.net/t/1466607.aspx/1 | |
//http://forums.asp.net/t/1383898.aspx | |
//would return http://localhost:2013 or http://localhost:2013/ApplicationPath | |
return string.Format("{0}://{1}{2}", | |
HttpContext.Current.Request.Url.Scheme, | |
HttpContext.Current.Request.ServerVariables["HTTP_HOST"], |
/* | |
* code to transform list of RSS feeds into bootstrap cards | |
* view my tutorial at https://knanne.github.io/posts/how-to-create-a-custom-rss-reader | |
* 1 DEPENDENCY - YQL: https://developer.yahoo.com/yql/ | |
* Adhere to Google News GUIDELINES as standard for parsing RSS feeds | |
* (e.g. link to source, site author etc.) | |
* https://support.google.com/news/publisher/answer/4203?hl=en | |
*/ | |
// make YQL query as url string |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Updated: 2010/12/05 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it) | |
// | |
// Permission is hereby granted, free of charge, to any person |