WordPress.org

Ready to get started?Download WordPress

Forums

Safari Push
[resolved] Add URL field to push in the settings. (10 posts)

  1. Djib's
    Member
    Posted 6 months ago #

    Hi,

    In the settings of the plugin, it would be nice to add a field to the destination URL when sending manual push.

    This is useful when, for example, the push when publishing a post does not work or for testing.

    Speaking of automatic push in the publication, it does not work if the title is too long.

    Regards

    http://wordpress.org/plugins/safari-push/

  2. macgamer
    Member
    Plugin Author

    Posted 6 months ago #

    How long is too long?

  3. Djib's
    Member
    Posted 5 months ago #

    I do not really know. I will do some tests.

  4. Djib's
    Member
    Posted 5 months ago #

    Made in, the problem is not the url title.

    If it is too long it does not work.

    I tested with this url, it does not work:

    http://iphoneaddict.fr/post/news-118483-apple-576-milliards-dollars-chiffre-daffaires-premier-trimestre-fiscal-2014

  5. macgamer
    Member
    Plugin Author

    Posted 5 months ago #

    ok I will change it to use a short link instead of permalink in the next release.

  6. Djib's
    Member
    Posted 5 months ago #

    Replace :

    $url = parse_url( get_permalink( $post->ID ) );
    by
    $url = parse_url( wp_get_shortlink( $post->ID ) );

    in line 427

  7. macgamer
    Member
    Plugin Author

    Posted 5 months ago #

    Unfortunately that does not work if jetpack is installed. I have an alternative, I'm testing it right now, will be in the next release which I'll post once everything checks out.

  8. Djib's
    Member
    Posted 5 months ago #

    okay.

    I don't have Jetpack so I could not know

  9. macgamer
    Member
    Plugin Author

    Posted 5 months ago #

    version 0.7.3 is out with the fix

  10. Djib's
    Member
    Posted 5 months ago #

    okay Thank you

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.