Less than 30 day rentals in a residential neighborhood in the city of San Francsico are illegal. Period.