Hi,
great work, I use the hook on my machine. Recently I discovered there seems to be a limitation in IFTTT tags character length (around 140 in my case) which caused long urls are stripped somehow. Using the 'description' element works fine.
So I changed the code like this:
//we use the tags field for providing webhook URL - but limited length
case 'mt_keywords':
//$url = $data->xpath('value/array/data/value/string');
//$url = (string)$url[0];
break;
//use the description field for providing webhook URL
case 'description':
$url = (string)$data->value->string;
break;
Sounds good. I'll commit this without commenting the tags portion, as that might break stuff people have running. I'll give priority to description since it works better.
Hi, great work, I use the hook on my machine. Recently I discovered there seems to be a limitation in IFTTT tags character length (around 140 in my case) which caused long urls are stripped somehow. Using the 'description' element works fine.
So I changed the code like this:
Maybe this is useful..