Jump to content
UBot Underground

Choosing partial text


Recommended Posts

Hi everyone. I am trying to complete a form fill where part of the form is the entire text body (which I am getting from text files. The form field just prior to that wants a summary (max 250 chars). I have the whole process in a loop and right now i am using the title as the summary (because it was just easier). However, I would like to choose the first paragraph of the text file as the summary. Is this possible to do inside the loop? Or will it require separating the text from the original file? Thanks.

 

John

Link to post
Share on other sites

Hi.

 

Very good question. I'm in front of the same problem right now.

I have a article in {|} format. 1 Headline Paragraph and 6 article body paragraphs.

 

So the question is:

Can I use Ubot to separate the title from the body content. Like "select first paragraphs / sentence / 23 words)..."

Or do I have to separate the stuff via a CSV?

 

Thanks

Dan

Link to post
Share on other sites

Hi Dan. The easiest solution for your titles is to use the title name as the file name>

 

i.e. How to Train Your Dog.txt

 

If you PM me with your email address I will send you a tiny piece of software to automate the list creation process.

 

John

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...