Hi Garvin,
Thanks for your helps. Finally I think it is working. I didn't put a "=" after field("serendipity[categories][]" and that caused problems.
$mech->field("serendipity[body]", "This is a test. please ignore" );
#$mech->field("serendipity[categories][]", "13" ); This line doesn't work ...
Search found 10 matches
- Wed Jul 08, 2009 7:40 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
- Wed Jul 08, 2009 7:09 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
Re: Use Mechanize to submit new entry
Yes. They are there. Also, I can find them from quick search. Thanks
- Wed Jul 08, 2009 6:47 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
Re: Use Mechanize to submit new entry
The entry was displayed after the entryid was added into *entrycat. Thanks
Also, the s9y version is very old. It is 1.0.1. How do I check the plugins? Thanks
Also, the s9y version is very old. It is 1.0.1. How do I check the plugins? Thanks
- Wed Jul 08, 2009 6:33 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
Re: Use Mechanize to submit new entry
That's a quick reply. I'll test the add entryid first.
Also in the form, there is a variable like this
serendipity[categories][]=<UNDEF> (option) [*<UNDEF>/off|16/Announcements]
I entered it like
serendipity[categories][]=16 (option) [<UNDEF>/off|*16/Announcements]
It seems no help.
For the ...
Also in the form, there is a variable like this
serendipity[categories][]=<UNDEF> (option) [*<UNDEF>/off|16/Announcements]
I entered it like
serendipity[categories][]=16 (option) [<UNDEF>/off|*16/Announcements]
It seems no help.
For the ...
- Wed Jul 08, 2009 5:26 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
Re: Use Mechanize to submit new entry
There is no entryid for 27988 on the _entrycat DB tables, but everything looks normal on the _entryproperties and _permalinks DB tables.
mysql> select * from serendipity_entrycat where entryid=27989 or entryid=27988;
+---------+------------+
| entryid | categoryid ...
mysql> select * from serendipity_entrycat where entryid=27989 or entryid=27988;
+---------+------------+
| entryid | categoryid ...
- Tue Jul 07, 2009 3:07 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
Re: Use Mechanize to submit new entry
Hi
Thank you Garvin. Following is an output from the entries:
mysql> select * from serendipity_entries where id=27989 or id=27988 ...
Thank you Garvin. Following is an output from the entries:
mysql> select * from serendipity_entries where id=27989 or id=27988 ...
- Thu Jul 02, 2009 9:24 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
Re: Use Mechanize to submit new entry
My test seems half working now.
I can see an entry was on database in table serendipity_entries, but It doesn't display on the weblog. Where should I check? Thanks,
I can see an entry was on database in table serendipity_entries, but It doesn't display on the weblog. Where should I check? Thanks,
- Thu Jul 02, 2009 8:15 pm
- Forum: Bugs
- Topic: won't post
- Replies: 2
- Views: 1782
Re: won't post
Seems you are right. Thank you.
- Wed Jul 01, 2009 8:12 pm
- Forum: Bugs
- Topic: won't post
- Replies: 2
- Views: 1782
won't post
I am not sure if this is a bug, but couldn't post an entry through text browsers. A message in the text browser is below,
Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls.
This may take a while..
IFrame: serendipity_iframe
Your browser does not support ...
Serendipity is now saving your entry, creating trackbacks and performing possible XML-RPC calls.
This may take a while..
IFrame: serendipity_iframe
Your browser does not support ...
- Wed Jun 17, 2009 5:11 pm
- Forum: General discussions
- Topic: Use Mechanize to submit new entry
- Replies: 13
- Views: 4839
Use Mechanize to submit new entry
Hi,
When I try to use WWW::Mechanize to submit a new entry to the s9y blog, I see there are two unnamed submit options,
<NONAME>=- Preview - (submit)
<NONAME>=- Save - (submit)
and function submit() doesn't work.
Is there any way to name the submit buttons so Mechanize may work? Thanks ...
When I try to use WWW::Mechanize to submit a new entry to the s9y blog, I see there are two unnamed submit options,
<NONAME>=- Preview - (submit)
<NONAME>=- Save - (submit)
and function submit() doesn't work.
Is there any way to name the submit buttons so Mechanize may work? Thanks ...