The first one you linked to with the locking ring and pigtail is pretty slick, but expensive for what you need to do. Not that it may matter for you, but the locking rings come in 1/4 turn and threaded collar type and both will work on the inlet. Marinco will also fit but expect to pay $70 or so.
The style of the 2nd one is "okay" but you want the type for the other end of your cord. It looks like it would work by plugging into the inlet but I don't think that's a very good way to do it. As mentioned above, the better option is to use a dogbone style adapter at the end of your existing 30 amp cord. The reason is that often the 30 amp receptacles in CGs are in poor shape - they are worn out and blade retention force is poor. Also, too many people plug in with the power still on which causes pitting on the contact surfaces inside the recept. Result is resistance which leads to heat which leads to meltdown and which can lead to fire. By using a dogbone adapter, should you experience a meltdown, then you only lose the adapter. If your blades end up looking dirty, you can clean them with light sandpaper or emery cloth.
This inexpensive dogbone adapter should be okay.
Voltec adapterIf you want a quality one, this is good.
Conntek adapterThe Camco one would be okay too.
If you ever want to have a 30 amp extension cord, you can use the generator adapter along with a 2nd regular 30 amp detachable power cord. We have both we carry around in case the pedestal is more than 25' away.
You should never plug into a pedestal or anything at home unless the power is off. That way, you shouldn't ever end up experiencing what RoyB shows in a pic. The converter causes a momentary inrush current and that's the zap you can hear and the sparks in the dark. I had the connector on a 15 amp extension cord in our driveway at home go up in smoke once because I was too lazy to go to the panel to shut it off. (Now have a proper 30A recept. and disconnect switch in carport.)
You can use a real basic adapter like this one for under $3 IF you know how to use it.
triangle adapter Again, the thing is, NEVER plug it in live. Also, periodically inspect the blades for pitting. I would recommend against using it in CGs though because you just don't know how bad the receptacles are inside but at home would be fine.
If you find a 30 amp pedestal somewhere at a CG and it looks in bad shape or the plug will barely stay in place, it's good to use a 50 amp recept. if it has one. We carry a dogbone 30 - 50 amp adapter for that purpose. We were at a CG once and had to use a stick against the plug to make it stay in the recept. Not good... They had no 50s there unfortunately. I'm either going to make or try and find a straight through 30 to 30 amp dogbone adapter for that possible scenario again and if the adapter goes up in smoke, that's all we'll lose.