Home
last modified time | relevance | path

Searched refs:src_url (Results 1 – 4 of 4) sorted by relevance

/plugin/pycode/
Dsyntax.php228 $src_url = $data[0];
229 $src_url = $this->mpp->_check_src_url($src_url);
230 if (in_array($src_url, $code_error)) {
231 throw new Exception($this->mpp->_check_src_url($src_url));
241 list($name_host, $name_repo, $name_brch, $name_file) = $this->mpp->_get_names($src_url);
244 $raw_url = $this->mpp->_get_raw_url($src_url);
248 $repo[$src_url] = 0;
251 in_array($src_url, array_keys($repo)) == false) {
252 $repo[$src_url] = 2;
265 if ($repo[$src_url] == 0) {
[all …]
Dmethod.php569 * @param (str) $src_url the url to the source code of <file> in the repo
580 public function _get_raw_url($src_url) { argument
583 $url = substr($src_url, 8); // strip "https://"
622 * @param (str) $src_url the url to the source code of <file> in the repo
632 public function _get_names($src_url) { argument
638 $url = substr($src_url, 8); // strip "https://"
972 * @param (str) $src_url the url to the source code of <file> in the repo
980 public function _check_src_url($src_url) { argument
982 if ((strpos($src_url, "https://bitbucket.org/") === false and
983 strpos($src_url, "https://github.com/") === false)
[all …]
Dscript.js332 getExtension: function(src_url) { argument
333 var ext = src_url.slice(-3); // get .py
/plugin/news/scripts/
Drss.php45 $src_url=$this->news_feed_url();
62 <source url="$src_url"><![CDATA[$src_title]]></source>