Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field Tags / mt_keywords seems to have length limit #2

Closed
thle opened this issue Oct 23, 2013 · 1 comment
Closed

Field Tags / mt_keywords seems to have length limit #2

thle opened this issue Oct 23, 2013 · 1 comment

Comments

@thle
Copy link

thle commented Oct 23, 2013

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;

Maybe this is useful..

@captn3m0
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants