WordPress.org

Ready to get started?Download WordPress

Forums

100 Cities
Use Post Title as a "location-name" (3 posts)

  1. jordi_lc
    Member
    Posted 10 months ago #

    Hello, Congratulations for the plugin, it's very useful!

    It's possible to use the Post Title as a "location-name"?

    Thank you!

    http://wordpress.org/extend/plugins/100-cities/

  2. jonaypelluz
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks, I am glad you like it :-)

    Yes, I could use it as location name, the problem is how to find the city in the post title. I would need a database with all the countries, cities, regions, etc. to detect which part of the post title is the location name and then try to get the info from wikipedia, but the % of error without database is really high unless the post title is just the name of the place, in that case it would be really easy. I could add some sort of file with all the countries, all the main cities in the world that would help to do that, but it would fail in many cases. I will think about it and try to find a solution that more or less could be use and I will add it to the new releases.

    Regards,
    Jonay Pelluz

  3. jordi_lc
    Member
    Posted 10 months ago #

    Thanks for responding so quickly. In my case the name of the post is exactly the name of the place, so it would be great!

    Thank you!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.