Possible to create a name generator

Hi I’m creating an app for new dog owners and I’m wondering if it’s possible to create a name generator where the dog owner gets suggestions of name and can press thumbs up or down?

use it to get fake names

Thanks! How to implement this randomized feature in Glide?

the reshuffle buttonor @ThinhDinh might now a formula

1 Like

I take it you want to generate 1 at a time, if you want an array of names:

  • Remove the [1], automatically default to max = 10 names in 10 rows. =IMPORTXML("https://www.name-generator.org.uk/quick/","//div[@class='name_heading']")
  • Change the number to generate dynamically using ARRAY_CONSTRAIN: =ARRAY_CONSTRAIN(IMPORTXML("https://www.name-generator.org.uk/quick/","//div[@class='name_heading']"),insert number of names to generate,1)


= ARRAY_CONSTRAIN(IMPORTXML("https://www.name-generator.org.uk/quick/","//div[@class='name_heading']"),8,1)

1 Like

Wow, cool. Will check this out!

1 Like

Could it be done with this site as well? https://www.mydogsname.com/

Hi Hedda, I will try to create one for you later today. Close to 6am here, few hours before I get to the laptop :smile:

1 Like

Haha no stress. Amazed that you are awake! :stuck_out_tongue_winking_eye:

Just checked and there’s not an easy way to do that because there are quite many combinations to choose from (gender/styles/themes), each one leads you to an URL that’s strangely structured (I chose a combination of 3 and it threw back an undefined type in my search URL).

1 Like

Would this (https://www.fantasynamegenerators.com/dog-wolf-names.php) or this (https://pupbox.com/puppy-name-generator/) site be easier ?

Can’t seem to get anything working for the first one, for the second one it always return Albert (I assume that’s the first name in the database).

1 Like

Ah, what if I create a long list in Excel with names .Is it possible to get them to randomize i Glide?

=INDEX(Range that store names,RANDBETWEEN(1,Max number of names))

This should work.