Color-Coded Differences when Comparing Web Pages Using the Compare Changes Feature

Building A Site 12-27

12.5.1 Color-Coded Differences when Comparing Web Pages

When you compare two versions of a page template in Designer or a web page on the Web site, you need some kind of color-coding convention to see the actual differences. Site Studio uses the following convention to indicate content that has changed. ■ New text appears in green highlight. ■ Deleted text appears in red with a strikethrough. ■ Text that has not changed remains in black. Figure 12–27 Example of Page Template Edited in Designer Figure 12–28 Same Page Template With Changes Highlighted

12.5.2 Using the Compare Changes Feature

You can compare the changes made to page templates in Designer, and you can compare the changes made to a web page on the Web site see Comparing Changes on a Web Page on page 12-26. Comparing Changes to Page Templates To compare changes made to a page template in Designer, perform these tasks: 1. After making changes to a page template, click the Compare Changes icon Figure 12–29 in the Site toolbar. Figure 12–29 Compare Changes Icon 2. A new window displays showing the differences between the two versions of the page template see Color-Coded Differences when Comparing Web Pages on page 12-27. This compares the unsaved version of the page template with the saved version in the content server. Take note of the changes and then close the window. 12-28 Oracle Fusion Middleware Users Guide for Site Studio Designer Comparing Changes to Web Page To compare the changes made to a web page on the Web site, perform these tasks: 1. Browse to the desired web page and open Contributor. 2. To compare the two versions of the web page the most current version and the latest released version, click the menu icon on the top of the page in contribution mode Figure 12–30 and choose View Differences. Figure 12–30 Contribution Mode Top Bar 3. A new window displays showing the differences between the two versions of the web page see Color-Coded Differences when Comparing Web Pages on page 12-27. You see only the changes in the new window if there is a difference between the most current version of the web page and the latest released version in the content server. Usually, this only happens when the page has a future release date or is part of a workflow see Chapter 15, Using Workflows . Take note of the changes and then close the window. When you compare two versions of a web page, you are comparing everything on the web page, which may include data files, native documents, page templates, fragments, and more. This feature compares content changes, not formatting changes. For example, if you change the font size of the text or make the text bold, there are no differences displayed. But if you replace one word with another word, this difference is displayed. If an image is resized or replaced, the difference is displayed. 13 Working With Fragments 13-1 13 Working With Fragments This section covers the following topics: ■ About Fragments on page 13-1