| 158 | |
| 159 | |
| 160 | == Other markup |
| 161 | Encouraged by these DITA results, I asked it to compile an HTML document with a table of CCMS products I gave it as input. I asked for a column that shows whether the software product fully supports DITA. It did not retrieve the information correctly in all cases, it was too optimistic. But that's only natural, it uses the info sources it has, and among them are surely websites where software vendors claim their products provide full DITA support while they don't. |
| 162 | |
| 163 | Again, if the system has access to solid data through the API, it should return reliable results. But I find the HTML and CSS very adequate. And if you want something changed, just ask for it. |
| 164 | {{{#!xml |
| 165 | <!DOCTYPE html> |
| 166 | <html> |
| 167 | <head> |
| 168 | <meta charset="UTF-8"> |
| 169 | <title>CCMS DITA Support</title> |
| 170 | <style> |
| 171 | table { |
| 172 | border-collapse: collapse; |
| 173 | width: 100%; |
| 174 | } |
| 175 | th, td { |
| 176 | padding: 10px; |
| 177 | text-align: left; |
| 178 | border-bottom: 1px solid #ddd; |
| 179 | } |
| 180 | th { |
| 181 | background-color: #f2f2f2; |
| 182 | font-weight: bold; |
| 183 | color: #555; |
| 184 | text-transform: uppercase; |
| 185 | letter-spacing: 0.1em; |
| 186 | } |
| 187 | td:first-child { |
| 188 | font-weight: bold; |
| 189 | color: #333; |
| 190 | } |
| 191 | .yes { |
| 192 | background-color: #b3e6b3; |
| 193 | color: #008000; |
| 194 | font-weight: bold; |
| 195 | } |
| 196 | .limited { |
| 197 | background-color: #ffe6b3; |
| 198 | color: #ff9900; |
| 199 | font-weight: bold; |
| 200 | } |
| 201 | .no { |
| 202 | background-color: #ffc2b3; |
| 203 | color: #ff0000; |
| 204 | font-weight: bold; |
| 205 | } |
| 206 | </style> |
| 207 | </head> |
| 208 | <body> |
| 209 | <h1>CCMS DITA Support</h1> |
| 210 | <table> |
| 211 | <tr> |
| 212 | <th>Product</th> |
| 213 | <th>DITA Support</th> |
| 214 | </tr> |
| 215 | <tr> |
| 216 | <td>One product</td> |
| 217 | <td class="yes">Yes</td> |
| 218 | </tr> |
| 219 | <tr> |
| 220 | <td>Another product</td> |
| 221 | <td class="yes">Yes</td> |
| 222 | </tr> |
| 223 | <tr> |
| 224 | <td>Yet another</td> |
| 225 | <td class="no">No</td> |
| 226 | </tr> |
| 227 | <tr> |
| 228 | <td>Cinnamon CMS</td> |
| 229 | <td class="yes">Yes</td> |
| 230 | </tr> |
| 231 | </table> |
| 232 | </body> |
| 233 | </html> |
| 234 | }}} |
| 235 | |
| 236 | ChatGPT can apparently generate many types of files that can be expressed as text. Since SVG is basically XML, I tried whether ChatGPT can draw. I asked for a diagram with a few boxes with the acronyms "ERP", "CCMS" and "PIM", linked up with lines between them. |
| 237 | |
| 238 | |