forked from lubuwest/Friendiqa
v.0.4
This commit is contained in:
parent
aca94a5393
commit
63dfb9b197
70 changed files with 2829 additions and 1056 deletions
|
@ -135,6 +135,21 @@ else{
|
|||
if ((attachmentList.length==0) || (attachmentList[attachmentList.length-1].url!=ptvideohelper.url)){attachmentList.push(ptvideohelper)}
|
||||
}
|
||||
}
|
||||
// if (newsitemobject.text.indexOf("https://www.youtube.com/watch")>-1){
|
||||
// //print("message "+msg.options.showWebsiteForLinks);
|
||||
// if (msg.options.showYoutube!="false"){
|
||||
// var ythelper={mimetype:"video/youtube"}
|
||||
// var yttext=newsitemobject.text;
|
||||
// while (yttext.indexOf("https://www.youtube.com/watch")>-1){
|
||||
// var ythelperstringposition=linktext.indexOf("watch?v=");
|
||||
// var ytposend=findend(yttext,ythelperstringposition);
|
||||
// ythelper.url=yttext.substring(yttext.lastIndexOf("http",linkhelperstringposition),linkposend);
|
||||
// linktext=linktext.substring(linkhelperstringposition+5,linktext.length)
|
||||
// if ((attachmentList.length==0) || (attachmentList[attachmentList.length-1].url!=linkhelper.url)){attachmentList.push(linkhelper)}
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// if (newsitemobject.text.indexOf(".html")>-1){
|
||||
// //print("message "+msg.options.showWebsiteForLinks);
|
||||
// if (msg.options.showWebsiteForLinks!="false"){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue