Hi!!
How do I accept the keywords suggested by users when they add your site?
Thanks!!
accept keywords
Moderator: effi
5 posts
• Page 1 of 1
Re: accept keywords
I think this may be regarded as a little limitation and it should be fixed by the incoming version of Arfooo. It will be more sensible to allow the directory administrator to add the suggested keywords during the approval task, there is more, since the keywords have description, so the webmaster who suggest a keyword, should be able to add some description for it too.
Best Regards,
, just another customized Arfooo directory.
, just another customized Arfooo directory.
- saidbakr
- Posts: 66
- Joined: Wed Jul 23, 2008 9:09 pm
- Location: Egypt
Re: accept keywords
You can this read:
>>> 'xxxxxx'.find('xx', 4)
4
>>> 'xxxxxx'.find('xx', start=4)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: find() takes no keyword arguments
>>>
While other things do accept keywords:
sorted(s, key=bla)
We should clean this up. It is not well documented anywhere and I suspect other python implementations (haven't tested this) may accept keywords on these where C Python doesn't.
In string.find()'s case it looks like this is because it is an old style C method declaration that only gets an args tuple, no keyword args dict.
>>> 'xxxxxx'.find('xx', 4)
4
>>> 'xxxxxx'.find('xx', start=4)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: find() takes no keyword arguments
>>>
While other things do accept keywords:
sorted(s, key=bla)
We should clean this up. It is not well documented anywhere and I suspect other python implementations (haven't tested this) may accept keywords on these where C Python doesn't.
In string.find()'s case it looks like this is because it is an old style C method declaration that only gets an args tuple, no keyword args dict.
--
- xuanxanh99
- Posts: 3
- Joined: Mon Oct 18, 2010 12:26 am
5 posts
• Page 1 of 1
Return to Templates, plugins and tutorials
-
- Related topics
- Replies
- Views
- Last post
-
- Keywords as a search criteria
1, 2by ping » Sat May 02, 2009 12:47 am - 17 Replies
- 6212 Views
- Last post by jay
Tue Jan 18, 2011 5:53 am
- Keywords as a search criteria
-
- Keywords in Meta Tags
by martinglover » Wed May 19, 2010 12:16 pm - 11 Replies
- 4733 Views
- Last post by lil okie
Tue Aug 02, 2011 7:29 am
- Keywords in Meta Tags
-
- Keywords Letters Into Arabic Alphabet
by saidbakr » Mon Apr 05, 2010 9:10 pm - 0 Replies
- 10843 Views
- Last post by saidbakr
Mon Apr 05, 2010 9:10 pm
- Keywords Letters Into Arabic Alphabet
-
- How to show custom keywords and fileds on item.tpl?
by diamin » Sun Apr 24, 2011 6:05 am - 1 Replies
- 2321 Views
- Last post by diamin
Wed Apr 27, 2011 4:12 am
- How to show custom keywords and fileds on item.tpl?
Who is online
Users browsing this forum: No registered users and 0 guests