Halfagain IM Forums
May 23, 2012, 11:50 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: New-line code needed  (Read 1397 times)
0 Members and 1 Guest are viewing this topic.
in2profit
Newbie
*

Karma: 10
Offline Offline

Posts: 7


« on: March 17, 2006, 06:46 »

Could we please get a way to force a new line (similar to
 or \n ) but without breaking the sense block? This way we could write more meaningful copy that would look better when output on page, than the massive block CS generate when you use a full article - or specify more than 5 sense blocks to shuffle.

By f.i. using two break-tags at the end of sense blocks we could force a new paragraph in the output text, even with random shuffle, it would break up the text block into paragraphs - and make the text read like normal articles or editorial content.
Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #1 on: March 17, 2006, 10:05 »

You can use html tags inside the sensebloks.

You can put senseblocks between

, or add

at the end of each block.

CS support any type of html tag inside sensebloks and even in variables.

The only problem you may have is when you will parse the feeds, because not all parsers will work with xml feeds that contain html tags.

As many of you already observed, RSS news are not formatted most of the times.
Logged
in2profit
Newbie
*

Karma: 10
Offline Offline

Posts: 7


« Reply #2 on: March 22, 2006, 09:05 »

Thank you Omar for your answer

Could you please tell how I can make a paragraph/senseblock containing several lines? ( without forcing a new senseblock with a dot (.) at the end of each line)

I try to make articles with more-than-one-sentence in each sense block, and want to have
 and

within the text block, something in line with a tags lthat would performe the same function as tags like Senseblock with several lines  . But CS allways break up the paragraph at the end of each line.

Do you have any suggestions / solution to this?

Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #3 on: March 22, 2006, 10:08 »

I supose you are using semi-automatic project.

If you will use a normal "create project" you will not have this problem.

If you still want to use semi-autmatic you can do smth like this:

1. Create your semiautomatic project and finish it completely. You will have CS put [] on chosen words, suggest synonims but also have your blocks split into sentences.

2. Now, after you finish your project completely, and u can access it through that link it produces, go to Edit senseblocks for that specific project.
Copy all the sensblocks and pase it into a text processor, like notepad. Use notepad to combine back the single sentences into pharagraphs. You will already have your words inside that with [], and you should keep it, but if you like, u can add more [] or remove some.

3. After u made your pharagraphs, copy again and paste all back in CS and click save button. That will not split again pharagraphs into sentences, will just add/remove new [variables] to the list if u made any changes to that
« Last Edit: March 22, 2006, 22:07 by Omar » Logged
in2profit
Newbie
*

Karma: 10
Offline Offline

Posts: 7


« Reply #4 on: March 22, 2006, 15:20 »

Sounds good Smiley

I will try that on the next project.

Thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!