24Freelance永不休眠的自由职业市场
关闭

Plugin for wordpress - autoposting

1 789 浏览 0 回复#2531
项目状态
Closed
预算€4 775项目预算
格式一次性项目可预付款
付款电子货币
接受的回复完成直到 31.07.2016
回复0类别平均: 1,1
视图1 789在14天内 10

项目描述

You need to develop a WordPress plugin that can create a post in two modes.
draft and publication immediately.

The data for the post is on the same host, in the mysql database.
The procedure is already written, you only need a php code.

Requirements

1. The ability to work on a schedule.
In the schedule settings:
weekday
The mode is a draft or immediately post.
User/password to call procedures
name of the procedure to be called
its parameters and their type
commentary

store settings locally, in an ini file, the password is desirable not to be stored in an open form.

1. Call the p_get_template procedure – get a template. Some text
For example, “Hello, today we publish the text of %tag%”
Varchar (300)
2. Calling the p_get_tag procedure – we get an arbitrary type of text that
We'll publish. For example, “wonderful metalworking machines.” Varchar (100)
3. Change %tag% to p_get_tag, which is the introduction.
4. Call p_get_setting procedure – we get the settings:

row_before_text tinyint - the number of empty lines between the intro and the intro
textually

delimeter – varchar (10) symbols that divide information, for example:

delimeterposition varchar (6), position of the separators, meanings: left, right, center

row_before_delimeter - number of empty lines in front of the separator

row_after_delimeter - number of empty lines after the separator

row_before_sign - number of lines before signing

Sign - the signature is varchar (200). It will contain hyperlinks.

5. Calling the procedure specified in the settings with the specified parameters - we get a record set.

Id_Text int unsigned, TextValue varchar (700)

Add text from the recordset using previously received settings

text + row_before_delimeter + delimeter and its position according to
delimeterposition + row_after_delimeter + next_text - and so on until the end
record set.

Then row_before_sign + sign, and actually create the post. In the case of
successful creation - in the form of a draft or successful posting -
We run again on the record set and call the procedure:
p_set_used (iId_Text unsigned) - send Id_Text to it. In case of error
It's going to come back negative. We're writing it in the log.

If the post failed to create - write in the log time and reason.
In case of an error in any operation, write to the log. Have the ability to delete the log.

It would be nice to be able to add a picture to the post. However, there is no clear vision of how to do this and how to store it in the database (?) yet.
网页开发 电子货币

SafeDeal 担保交易保护

资金锁定在 Payora USDT (TRC-20) 托管账户中,仅在确认验收作品后才会释放给自由职业者。

24
二十 · 提示

如何写出被选中的回复

  • 以客户的任务开头,而不是讲述自己的故事。
  • 链接一到两个来自您作品集的类似作品。
  • 给出一个价格和截止日期——以及它们具体包括什么。
  • 问一个澄清问题:这可以开始对话。

回复 0

回复文本仅对客户可见。

同类类别

类似项目

该类别中的所有项目
Private School Website

Private School Website

Building a private school website: admissions intake, classes and programmes, timetable, teachers and news.

网页开发24.09.20260262
0回复
值得注意
我该如何回应这个项目?

以自由职业者身份登录,描述您将如何解决任务,命名您的价格和截止日期。客户会阅读回复并与最佳的进行对话。

谁能看到我的回复?

只有发布项目的客户和您自己。其他自由职业者无法看到您的文本或价格。

我在哪里可以找到类似的工作?

在“网页开发”中每天都有新项目出现。 该类别中的所有项目

此页面回答的问题