Results 1 to 10 of 28

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Strip HTML and WORD formatting

    Ok do you have any suggestions on how to go about this...as in coding?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Strip HTML and WORD formatting

    Quote Originally Posted by Nick1973 View Post
    Ok do you have any suggestions on how to go about this...as in coding?
    So, I just took a look at what the code posted in the first post of this thread does (didn't follow the link yet), and it basically does a regex replace on the associated data. This is a relatively straight forward process in php. I'd have to go back into the EP4 code to identify the applicable locations for taking action during the export, but I would suggest this action during some form of the full data export. Some form meaning there is a single clickable option from the main EP4 window, as well as the ability to export by smaller groups through the dropdowns at the top of the screen.

    There is a branch off of EP4 that supports an additional product type called BookX that uses the notifiers in EP4 to accomplish the work designed by that programmer. There are some inefficiencies in that code, but the observer class (found in includes/classes/observers) shows examples of how to initiate the associated code at the related point in EP4. The code of EP4 has been structured to primarily have the necessary data in the global space, so variables needed to be modified can be brought into the applicable observer function, modified and upon exit will be equal to what was in the observer. Such variables are brought in by declaring global $var; where $var is the desired variable on which to operate.

    The latest EP4 code can be found at https://github.com/mc12345678/EasyPopulate-4.0
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Strip HTML and WORD formatting

    Quote Originally Posted by mc12345678 View Post
    So, I just took a look at what the code posted in the first post of this thread does (didn't follow the link yet), and it basically does a regex replace on the associated data.[/url]
    Yes that is correct, it does a regex replace. I'm not entirely sure what you are talking about with EP4. Do you think it can be done though?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 

Similar Threads

  1. Word HEADER_ bin the menu bar and after the word login
    By moro in forum Installing on a Windows Server
    Replies: 1
    Last Post: 18 Dec 2011, 03:14 PM
  2. html email formatting
    By ads112001 in forum General Questions
    Replies: 1
    Last Post: 23 Feb 2011, 07:15 PM
  3. SEO URLs - how to strip HTML tags from product names?
    By gregy1403 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Sep 2010, 04:31 PM
  4. Product listing - Don't strip html!
    By Jazzperson in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Nov 2007, 04:31 PM
  5. WYSIWYG downloads? Problem with ms word html and the HTMLarea
    By vandiermen in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 11 Sep 2007, 06:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg